X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FLibrary%2FDxeCapsuleLibFmp%2FDxeCapsuleLib.c;h=85848279d44c370861302010aabd9dca6861a302;hb=ac053f6124bca694d8fabbc1b36c6aac9c037693;hp=d4026dd5c783763d36791238c6f52bbe97c3dc40;hpb=69feaa37aeca6386de0fc635a1287e6e31851d7a;p=mirror_edk2.git 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; }