From 0737d2f96d52e80cd6d13b0c37a4f8428e1b5bb9 Mon Sep 17 00:00:00 2001 From: Amlal Date: Sun, 16 Feb 2025 19:26:51 +0100 Subject: ADD: Many tweaks to the OS. Signed-off-by: Amlal --- dev/Boot/src/HEL/AMD64/BootEFI.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'dev/Boot') diff --git a/dev/Boot/src/HEL/AMD64/BootEFI.cc b/dev/Boot/src/HEL/AMD64/BootEFI.cc index b3e03f01..a8dc5561 100644 --- a/dev/Boot/src/HEL/AMD64/BootEFI.cc +++ b/dev/Boot/src/HEL/AMD64/BootEFI.cc @@ -201,11 +201,6 @@ EFI_EXTERN_C EFI_API Int32 Main(EfiHandlePtr image_handle, while (BS->AllocatePool(EfiLoaderData, handover_hdr->f_BitMapSize, &handover_hdr->f_BitMapStart) != kEfiOk) { - if (handover_hdr->f_BitMapStart) - { - BS->FreePool(handover_hdr->f_BitMapStart); - handover_hdr->f_BitMapStart = nullptr; - } } handover_hdr->f_FirmwareCustomTables[0] = (VoidPtr)BS; -- cgit v1.2.3