[dm-devel] [PATCH 02/18] fix memory leaks on realloc failures

Hannes Reinecke hare at suse.de
Mon Oct 12 06:35:51 UTC 2015


On 10/08/2015 09:44 PM, Benjamin Marzinski wrote:
> When realloc fails, it doesn't free the existing memory.  In many places,
> multipath was just forgetting about that that memory. It needs to free
> up the existing memory, or to reset back to using it.
> 
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
Reviewed-by: Hannes Reinecke <hare at suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		               zSeries & Storage
hare at suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)




More information about the dm-devel mailing list