[U-Boot] env_nand malloc not released

Derek Ou derek at siconix.com
Tue Jan 6 20:03:48 CET 2009


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?

Thanks,
Derek


More information about the U-Boot mailing list