summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c')
-rw-r--r--MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c4
1 files changed, 2 insertions, 2 deletions
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);
}