[U-Boot] env_nand malloc not released
Scott Wood
scottwood at freescale.com
Wed Jan 7 23:15:18 CET 2009
On Tue, Jan 06, 2009 at 12:03:48PM -0700, Derek Ou wrote:
> Hi, all,
>
> In the common/env_nand.c, function env_relocate_spec (for
> CONFIG_ENV_OFFSET_REDUND) malloc two memory areas in line 296 and 297.
> If it hits line 308 when both environment areas not found, it will
> return without freeing the two memory areas. Is this a bug or I am
> missing something?
Looks like a bug.
-Scott
More information about the U-Boot
mailing list