]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: memory leak in efi_set_bootdev()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 10 Jul 2022 13:46:57 +0000 (15:46 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 13 Jul 2022 18:07:07 +0000 (20:07 +0200)
commit918ccf73cab0e9d31824821fc2542d04a331023b
treebb8bf778e6d5edf6985a013277c880f759725fa9
parent7437631093e744530458b643cb0b42a8587780e1
efi_loader: memory leak in efi_set_bootdev()

efi_dp_str() allocates memory which should be released after use.

Use %pD printf code. Adjust message wording.

Fixes: 1c05781fd832 ("efi: Add debugging to efi_set_bootdev()")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
cmd/bootefi.c