summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal/DebugSupport/Dxe/DebugSupport.c
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-14 02:02:43 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-14 02:02:43 +0000
commit2c3b5ec562c7b43a73424e1be25e2053d1edfe4f (patch)
tree01495edfd3c8cdd9ae39054443a47b198bc48e10 /EdkModulePkg/Universal/DebugSupport/Dxe/DebugSupport.c
parent9db9711c414fe3207ffae81b3c1627554c428308 (diff)
downloadedk2-platforms-2c3b5ec562c7b43a73424e1be25e2053d1edfe4f.tar.xz
Clean up the gBS sevice (CopyMem, SetMem, AllocatePool, FreePool) with the corresponding APIs defined in Mde library class for these modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2456 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Universal/DebugSupport/Dxe/DebugSupport.c')
-rw-r--r--EdkModulePkg/Universal/DebugSupport/Dxe/DebugSupport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/EdkModulePkg/Universal/DebugSupport/Dxe/DebugSupport.c b/EdkModulePkg/Universal/DebugSupport/Dxe/DebugSupport.c
index 118e9b7979..a0ec6c5934 100644
--- a/EdkModulePkg/Universal/DebugSupport/Dxe/DebugSupport.c
+++ b/EdkModulePkg/Universal/DebugSupport/Dxe/DebugSupport.c
@@ -96,12 +96,12 @@ Returns:
EFI_OPEN_PROTOCOL_GET_PROTOCOL
);
if (Status == EFI_SUCCESS && DebugSupportProtocolPtr->Isa == EFI_ISA) {
- gBS->FreePool (HandlePtr);
+ FreePool (HandlePtr);
Status = EFI_ALREADY_STARTED;
goto ErrExit;
}
} while (NumHandles > 0);
- gBS->FreePool (HandlePtr);
+ FreePool (HandlePtr);
}
//