On Mon, Nov 23, 2015 at 04:23:34PM +0100, Przemyslaw Marczak wrote: > The string of environment variable $dfu_alt_info is duplicated > by strdup() before parsing its content. The memory leak occurs, > when dfu fails, because the duplicated variable is freed only > on command success. > > This simple fix allows calling free() always before the return. > > Signed-off-by: Przemyslaw Marczak <[email protected]> > Cc: Lukasz Majewski <[email protected]>
Reviewed-by: Tom Rini <[email protected]> -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

