Skip to content
Snippets Groups Projects
Commit 6d2ee5a3 authored by Mark Langsdorf's avatar Mark Langsdorf Committed by Tom Rini
Browse files

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: default avatarMark Langsdorf <mark.langsdorf@calxeda.com>
parent 8094972d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment