diff options
author | xdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-11-13 06:13:59 +0000 |
---|---|---|
committer | xdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-11-13 06:13:59 +0000 |
commit | 766c7483c335931b190a78d78d62e5a5e69dc8b9 (patch) | |
tree | 508f80920e6b3671232534302e1e6b13a41206ae /MdeModulePkg/Universal/Network/UefiPxeBcDxe | |
parent | 2f3c9af25ecab34663662d69e3ad749a931258a8 (diff) | |
download | edk2-766c7483c335931b190a78d78d62e5a5e69dc8b9.zip edk2-766c7483c335931b190a78d78d62e5a5e69dc8b9.tar.gz edk2-766c7483c335931b190a78d78d62e5a5e69dc8b9.tar.bz2 |
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/UefiPxeBcDxe')
4 files changed, 8 insertions, 8 deletions
diff --git a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c index 5e86cf5..de21a44 100644 --- a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c +++ b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c @@ -1161,7 +1161,7 @@ PxeBcDiscvBootService ( Status = Dhcp4->Build (Dhcp4, &Private->SeedPacket, 0, NULL, OptCount, OptList, &Token.Packet);
if (IsDiscv) {
- gBS->FreePool (OptList[OptCount - 1]);
+ FreePool (OptList[OptCount - 1]);
}
if (EFI_ERROR (Status)) {
@@ -1270,12 +1270,12 @@ PxeBcDiscvBootService ( //
// free the responselist
//
- gBS->FreePool (Token.ResponseList);
+ FreePool (Token.ResponseList);
}
//
// Free the dhcp packet
//
- gBS->FreePool (Token.Packet);
+ FreePool (Token.Packet);
return Status;
}
diff --git a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDriver.c b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDriver.c index a4951c8..eaa3c03 100644 --- a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDriver.c +++ b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDriver.c @@ -463,7 +463,7 @@ ON_ERROR: );
}
- gBS->FreePool (Private);
+ FreePool (Private);
return Status;
}
@@ -626,7 +626,7 @@ PxeBcDriverBindingStop ( Private->ArpChild
);
- gBS->FreePool (Private);
+ FreePool (Private);
}
return Status;
diff --git a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c index e04ae3a..d548e67 100644 --- a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c +++ b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c @@ -1376,7 +1376,7 @@ ON_EXIT: gBS->CloseEvent (Token.Event);
}
- gBS->FreePool (Udp4TxData);
+ FreePool (Udp4TxData);
return Status;
}
diff --git a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcMtftp.c b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcMtftp.c index 8ea6fed..1dbe32d 100644 --- a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcMtftp.c +++ b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcMtftp.c @@ -196,12 +196,12 @@ PxeBcTftpGetFileSize ( OptCnt--;
}
- gBS->FreePool (Option);
+ FreePool (Option);
ON_ERROR:
if (Packet != NULL) {
- gBS->FreePool (Packet);
+ FreePool (Packet);
}
Mtftp4->Configure (Mtftp4, NULL);
|