]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/IScsiDxe/IScsiTcp4Io.c
Update network drivers to use FreePool() instead of gBS->FreePool().
[mirror_edk2.git] / MdeModulePkg / Universal / Network / IScsiDxe / IScsiTcp4Io.c
index ee734d991427ad6b0d83815db42afe1af1e26fe0..7f63e8de193d64912d6614462f5588e0d828df10 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The wrap of TCP/IP Socket interface.\r
 \r
-Copyright (c) 2004 - 2007, Intel Corporation.<BR>\r
+Copyright (c) 2004 - 2009, Intel Corporation.<BR>\r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -386,7 +386,7 @@ Tcp4IoTransmit (
 \r
 ON_EXIT:\r
 \r
-  gBS->FreePool (TxData);\r
+  FreePool (TxData);\r
 \r
   return Status;\r
 }\r
@@ -481,7 +481,7 @@ Tcp4IoReceive (
 \r
 ON_EXIT:\r
   Tcp4Io->RxToken.Packet.RxData = NULL;\r
-  gBS->FreePool (Fragment);\r
+  FreePool (Fragment);\r
 \r
   return Status;\r
 }\r