[U-Boot] [U-Boot,1/6] part_efi: make sure the gpt_pte is freed

Tom Rini trini at ti.com
Sat Sep 21 14:06:36 CEST 2013


On Tue, Sep 10, 2013 at 03:14:56PM -0500, Mark Langsdorf wrote:

> the gpt_pte wasn't being freed if it was checked against an invalid
> partition. The resulting memory leakage could make it impossible
> to repeatedly attempt to load non-existent files in a script.
> 
> Also, downgrade the message for not finding an invalid partition
> from a printf() to a debug() so as to minimize message spam in
> perfectly normal situations.
> 
> Signed-off-by: Mark Langsdorf <mark.langsdorf at calxeda.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130921/1d6316d2/attachment.pgp>


More information about the U-Boot mailing list