diff --git a/Library/OcBootManagementLib/OcBootManagementLib.c b/Library/OcBootManagementLib/OcBootManagementLib.c index c17a685b..25175d62 100644 --- a/Library/OcBootManagementLib/OcBootManagementLib.c +++ b/Library/OcBootManagementLib/OcBootManagementLib.c @@ -310,6 +310,10 @@ OcScanForBootEntries ( return EFI_OUT_OF_RESOURCES; } } + // + // Errors from within the loop are not fatal. + // + Status = EFI_SUCCESS; FreePool (Handles);