From d50d54cec4e40f0383113e51fd5d12b49f423f9a Mon Sep 17 00:00:00 2001 From: ocbuild Date: Thu, 13 Jan 2022 13:57:20 +0300 Subject: [PATCH] Svace: Fixed DOUBLE_FREE.EX warning. --- MdeModulePkg/Core/Dxe/Misc/MemoryAttributesTable.c | 1 + 1 file changed, 1 insertion(+) diff --git a/MdeModulePkg/Core/Dxe/Misc/MemoryAttributesTable.c b/MdeModulePkg/Core/Dxe/Misc/MemoryAttributesTable.c index 45356130bc..b703e3a04f 100644 --- a/MdeModulePkg/Core/Dxe/Misc/MemoryAttributesTable.c +++ b/MdeModulePkg/Core/Dxe/Misc/MemoryAttributesTable.c @@ -160,6 +160,7 @@ InstallMemoryAttributesTable ( FreePool (MemoryMap); } } while (Status == EFI_BUFFER_TOO_SMALL); + ASSERT_EFI_ERROR (Status); MemoryMapStart = MemoryMap; RuntimeEntryCount = 0;