summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Support.c
diff options
context:
space:
mode:
authorxdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-11-13 06:13:59 +0000
committerxdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-11-13 06:13:59 +0000
commit766c7483c335931b190a78d78d62e5a5e69dc8b9 (patch)
tree508f80920e6b3671232534302e1e6b13a41206ae /MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Support.c
parent2f3c9af25ecab34663662d69e3ad749a931258a8 (diff)
downloadedk2-platforms-766c7483c335931b190a78d78d62e5a5e69dc8b9.tar.xz
Update network drivers to use FreePool() instead of gBS->FreePool().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9424 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Support.c')
-rw-r--r--MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Support.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Support.c b/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Support.c
index a758f4bb0c..0e7f98e33a 100644
--- a/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Support.c
+++ b/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Support.c
@@ -139,7 +139,7 @@ Mtftp4SetLastBlockNum (
if (Range->Start > Last) {
RemoveEntryList (&Range->Link);
- gBS->FreePool (Range);
+ FreePool (Range);
continue;
}
@@ -209,7 +209,7 @@ Mtftp4RemoveBlockNum (
if (Range->Start > Range->End) {
RemoveEntryList (&Range->Link);
- gBS->FreePool (Range);
+ FreePool (Range);
}
return EFI_SUCCESS;