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/Tcp4Dxe/Tcp4Misc.c | |
parent | 2f3c9af25ecab34663662d69e3ad749a931258a8 (diff) | |
download | edk2-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/Tcp4Dxe/Tcp4Misc.c')
-rw-r--r-- | MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Misc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Misc.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Misc.c index f565d2f3d0..8c0293dccd 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Misc.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Misc.c @@ -432,7 +432,7 @@ TcpCloneTcb ( Clone->Sk = SockClone (Tcb->Sk);
if (Clone->Sk == NULL) {
DEBUG ((EFI_D_ERROR, "TcpCloneTcb: failed to clone a sock\n"));
- gBS->FreePool (Clone);
+ FreePool (Clone);
return NULL;
}
@@ -1025,7 +1025,7 @@ TcpSetVariableData ( );
}
- gBS->FreePool (Tcp4Service->MacString);
+ FreePool (Tcp4Service->MacString);
}
Tcp4Service->MacString = NewMacString;
@@ -1040,7 +1040,7 @@ TcpSetVariableData ( ON_ERROR:
- gBS->FreePool (Tcp4VariableData);
+ FreePool (Tcp4VariableData);
return Status;
}
@@ -1067,7 +1067,7 @@ TcpClearVariableData ( NULL
);
- gBS->FreePool (Tcp4Service->MacString);
+ FreePool (Tcp4Service->MacString);
Tcp4Service->MacString = NULL;
}
@@ -1121,7 +1121,7 @@ TcpInstallDevicePath ( Sock->DevicePath
);
if (EFI_ERROR (Status)) {
- gBS->FreePool (Sock->DevicePath);
+ FreePool (Sock->DevicePath);
}
return Status;
|