From 7351070b1178c7294ba41923a9de15ddc6b5f73f Mon Sep 17 00:00:00 2001 From: jji4 Date: Fri, 26 Dec 2008 06:53:45 +0000 Subject: [PATCH] Library usage checked git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7132 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.c | 2 +- MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.c b/MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.c index 89ec339dd0..936a855f12 100644 --- a/MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.c +++ b/MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.c @@ -981,7 +981,7 @@ EhcMoniteAsyncRequests ( } if (ProcBuf != NULL) { - gBS->FreePool (ProcBuf); + FreePool (ProcBuf); } } diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c index deb21dd837..26f13dbfd0 100644 --- a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c +++ b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c @@ -1490,7 +1490,7 @@ UhciAllocateDev ( return Uhc; ON_ERROR: - gBS->FreePool (Uhc); + FreePool (Uhc); return NULL; } @@ -1520,7 +1520,7 @@ UhciFreeDev ( FreeUnicodeStringTable (Uhc->CtrlNameTable); } - gBS->FreePool (Uhc); + FreePool (Uhc); }