summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2010-07-28 01:43:18 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2010-07-28 01:43:18 +0000
commit116b142d869c1a37893ab435045e38a7881dd18d (patch)
treef68bffec96bb6b413a77ad04600afed9d72545ab /MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo
parentab58ce18aa8c979e35c6ac7750ae97f871145c50 (diff)
downloadedk2-116b142d869c1a37893ab435045e38a7881dd18d.tar.gz
edk2-116b142d869c1a37893ab435045e38a7881dd18d.tar.bz2
edk2-116b142d869c1a37893ab435045e38a7881dd18d.zip
Roll back change r10695, because new update on r10700 and r10701 handles this issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10704 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo')
-rw-r--r--MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/PciSegmentLib.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/PciSegmentLib.c b/MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/PciSegmentLib.c
index d6527ef301..ccd9df34d0 100644
--- a/MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/PciSegmentLib.c
+++ b/MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/PciSegmentLib.c
@@ -96,11 +96,7 @@ PciSegmentLibConstructor (
ASSERT (Descriptors->Desc != ACPI_END_TAG_DESCRIPTOR);
}
- //
- // HandleBuffer is allocated by gBS AllocatePool() service.
- // So, gBS FreePool() service is used to free HandleBuffer.
- //
- gBS->FreePool (HandleBuffer);
+ FreePool(HandleBuffer);
return EFI_SUCCESS;
}