diff options
Diffstat (limited to 'MdeModulePkg/Bus/Pci')
-rw-r--r-- | MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.c | 2 | ||||
-rw-r--r-- | 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);
}
|