On Tue, May 20, 2025 at 05:40:17PM +0000, khaalid cali wrote:
> "handles" that "grub_efi_locate_handles" was allocated with "grub_malloc" 
> wasn't being freed.

The "handles" allocated by grub_efi_locate_handle() call are not
always freed. Add missing grub_free() calls.

> Signed-off-by: Khalid Ali <khaliidca...@gmail.com>
> Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
> ---
>  grub-core/commands/efi/lsefi.c | 1 +
>  grub-core/commands/efi/tpm.c   | 2 ++

This patch is not complete. At least one grub_free() call is missing in
grub-core/video/efi_gop.c:check_protocol().

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to