Commit ad69b0b6 authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

efi/libstub: Use cleanup helpers for freeing copies of the memory map



The EFI stub may obtain the memory map from the firmware numerous times,
and this involves doing a EFI pool allocation first, which needs to be
freed after use.

Streamline this using a cleanup helper, which makes the code easier to
follow.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 90534e68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment