summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c
index d4026dd5c7..85848279d4 100644
--- a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c
+++ b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c
@@ -610,6 +610,8 @@ DumpAllFmpInfo (
FreePool(FmpImageInfoBuf);
}
+ FreePool (HandleBuffer);
+
return ;
}
@@ -777,6 +779,8 @@ GetFmpHandleBufferByType (
FreePool(FmpImageInfoBuf);
}
+ FreePool (HandleBuffer);
+
if (MatchedNumberOfHandles == 0) {
return EFI_NOT_FOUND;
}