On Wed, 2016-03-30 at 13:21 +0200, Manuele Conti wrote:
> Hi All,
> I found a memory leak in a mkmfs util and I try to fix it.

free() is NULL safe (C std 7.20.3.2, and also in HelenOS
uspace/lib/c/generic/malloc.c:972). doing:

if (p)
        free(p);

is useless.

regards,
Jan

> 
> Regards,
> Manuele
> _______________________________________________
> HelenOS-devel mailing list
> HelenOS-devel@lists.modry.cz
> http://lists.modry.cz/listinfo/helenos-devel

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
HelenOS-devel mailing list
HelenOS-devel@lists.modry.cz
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to