]> git.ipfire.org Git - thirdparty/grub.git/commit
loader/efi/linux: Use shim loader image handle where available
authorMate Kukri <mate.kukri@canonical.com>
Tue, 8 Jul 2025 20:21:17 +0000 (21:21 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 11 Jul 2025 21:11:35 +0000 (23:11 +0200)
commita0d4c94ef667cbd95f72826a3e099e903c9f0df8
tree004eca4d554cadba97ad8dd8967385e7bfa28a67
parent1b9a84e63b18692111fc2a0b464796aedbb2dd72
loader/efi/linux: Use shim loader image handle where available

Not reusing these handles will result in image measurements showing up
twice in the event log.

On the occasion add missing grub_free() call.

Signed-off-by: Mate Kukri <mate.kukri@canonical.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/loader/efi/linux.c