]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Library usage checked
authorjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 26 Dec 2008 06:53:45 +0000 (06:53 +0000)
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 26 Dec 2008 06:53:45 +0000 (06:53 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7132 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.c
MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c

index 89ec339dd0aa25095a9fa56118a2612fd2936ea3..936a855f12c1b68423f8dd9a043eaa1f234cd4e8 100644 (file)
@@ -981,7 +981,7 @@ EhcMoniteAsyncRequests (
     }\r
 \r
     if (ProcBuf != NULL) {\r
-      gBS->FreePool (ProcBuf);\r
+      FreePool (ProcBuf);\r
     }\r
   }\r
 \r
index deb21dd837337ebe5277220ea895e6b8297f8ead..26f13dbfd02d1561c9e31ccd5e57c77b5f9cb711 100644 (file)
@@ -1490,7 +1490,7 @@ UhciAllocateDev (
   return Uhc;\r
 \r
 ON_ERROR:\r
-  gBS->FreePool (Uhc);\r
+  FreePool (Uhc);\r
   return NULL;\r
 }\r
 \r
@@ -1520,7 +1520,7 @@ UhciFreeDev (
     FreeUnicodeStringTable (Uhc->CtrlNameTable);\r
   }\r
 \r
-  gBS->FreePool (Uhc);\r
+  FreePool (Uhc);\r
 }\r
 \r
 \r