diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index ce901e7cb6..c07f629939 100644 --- a/src/boot/efi/boot.c +++ b/src/boot/efi/boot.c @@ -2448,7 +2448,7 @@ static void config_load_all_entries( } EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) { - _cleanup_freepool_ EFI_LOADED_IMAGE *loaded_image = NULL; + EFI_LOADED_IMAGE *loaded_image; _cleanup_(file_closep) EFI_FILE *root_dir = NULL; _cleanup_(config_free) Config config = {}; CHAR16 *loaded_image_path;