]> git.ipfire.org Git - thirdparty/grub.git/commit
efi: Fix several memory leaks of UEFI handles
authorKhalid Ali <khaliidcaliy@gmail.com>
Mon, 15 Dec 2025 16:59:46 +0000 (16:59 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Sun, 21 Dec 2025 15:41:46 +0000 (16:41 +0100)
commit0f0899c32985d3ab194f01c367f094cb38bcd55c
tree6a5f10c224f9b5c363fc29e7b8027f05abe81639
parentc477a9551903c76466b9208ccf09dc6b9923dc7d
efi: Fix several memory leaks of UEFI handles

Fix possible and absolute memory leaks of "handles"
returned by grub_efi_locate_handle() using grub_malloc().

Signed-off-by: Khalid Ali <khaliidcaliy@gmail.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/commands/efi/lsefi.c
grub-core/commands/efi/tpm.c
grub-core/term/efi/serial.c
grub-core/video/efi_gop.c