Skip to content
Snippets Groups Projects
Commit 9c8e1c85 authored by Chris Coulson's avatar Chris Coulson Committed by Julian Andres Klode
Browse files

loader/efi/chainloader: Simplify the loader state


The chainloader command retains the source buffer and device path passed
to LoadImage(), requiring the unload hook passed to grub_loader_set() to
free them. It isn't required to retain this state though - they aren't
required by StartImage() or anything else in the boot hook, so clean them
up before grub_cmd_chainloader() finishes.

Signed-off-by: default avatarChris Coulson <chris.coulson@canonical.com>
Reviewed-by: default avatarDaniel Kiper <daniel.kiper@oracle.com>
parent dbcbb3e5
No related branches found
No related tags found
No related merge requests found
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