[U-Boot] env_nand malloc not released
Wolfgang Denk
wd at denx.de
Sat Jan 24 01:53:51 CET 2009
Dear Derek Ou,
In message <4963AB14.9010508 at siconix.com> you wrote:
>
> 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?
Can you please submit a patch?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Little known fact about Middle Earth: The Hobbits had a very sophi-
sticated computer network! It was a Tolkien Ring...
More information about the U-Boot
mailing list