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

@@ -234,7 +234,7 @@ Tcp4FlushPcb (
&gEfiDevicePathProtocolGuid,
Sock->DevicePath
);
gBS->FreePool (Sock->DevicePath);
FreePool (Sock->DevicePath);
TcpSetVariableData (TcpProto->TcpService);
}
@@ -279,7 +279,7 @@ Tcp4AttachPcb (
Tcb->IpInfo = IpIoAddIp (IpIo);
if (Tcb->IpInfo == NULL) {
gBS->FreePool (Tcb);
FreePool (Tcb);
return EFI_OUT_OF_RESOURCES;
}
@@ -317,7 +317,7 @@ Tcp4DetachPcb (
IpIoRemoveIp (ProtoData->TcpService->IpIo, Tcb->IpInfo);
gBS->FreePool (Tcb);
FreePool (Tcb);
ProtoData->TcpPcb = NULL;
}