]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/PciSegmentLib.c
Roll back change r10695, because new update on r10700 and r10701 handles this issue.
[mirror_edk2.git] / MdePkg / Library / UefiPciSegmentLibPciRootBridgeIo / PciSegmentLib.c
index d6527ef3019c7ff70a0d5273fc1e3b3112c6153c..ccd9df34d09b35a941de4964eb10461624425cb9 100644 (file)
@@ -96,11 +96,7 @@ PciSegmentLibConstructor (
     ASSERT (Descriptors->Desc != ACPI_END_TAG_DESCRIPTOR);\r
   }\r
 \r
-  //\r
-  // HandleBuffer is allocated by gBS AllocatePool() service. \r
-  // So, gBS FreePool() service is used to free HandleBuffer.\r
-  //\r
-  gBS->FreePool (HandleBuffer);\r
+  FreePool(HandleBuffer);\r
 \r
   return EFI_SUCCESS;\r
 }\r