]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
part_efi: make sure the gpt_pte is freed
authorMark Langsdorf <mark.langsdorf@calxeda.com>
Tue, 10 Sep 2013 20:14:56 +0000 (15:14 -0500)
committerTom Rini <trini@ti.com>
Fri, 20 Sep 2013 14:30:53 +0000 (10:30 -0400)
commit6d2ee5a33a802e6c59ba3148b3a111e4c41d43cb
treed00a6d4d138869b7b9a58fe17b9b52debf3ed9b8
parent8094972d594d883e3e556751f67ff5cdd8a286c5
part_efi: make sure the gpt_pte is freed

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@calxeda.com>
disk/part_efi.c