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
This commit is contained in:
xdu2
2009-11-13 06:13:59 +00:00
parent 2f3c9af25e
commit 766c7483c3
42 changed files with 192 additions and 192 deletions

View File

@ -91,7 +91,7 @@ Mtftp4WrqSendBlock (
if (EFI_ERROR (Status) || (DataLen > Instance->BlkSize)) {
if (DataBuf != NULL) {
gBS->FreePool (DataBuf);
FreePool (DataBuf);
}
Mtftp4SendError (
@ -111,7 +111,7 @@ Mtftp4WrqSendBlock (
if (DataLen > 0) {
NetbufAllocSpace (UdpPacket, DataLen, FALSE);
CopyMem (Packet->Data.Data, DataBuf, DataLen);
gBS->FreePool (DataBuf);
FreePool (DataBuf);
}
}
@ -462,7 +462,7 @@ ON_EXIT:
// restart the receive, otherwise end the session.
//
if ((Packet != NULL) && (UdpPacket->BlockOpNum > 1)) {
gBS->FreePool (Packet);
FreePool (Packet);
}
if (UdpPacket != NULL) {