]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/ArpDxe/ArpMain.c
Update network drivers to use FreePool() instead of gBS->FreePool().
[mirror_edk2.git] / MdeModulePkg / Universal / Network / ArpDxe / ArpMain.c
index 0f66580bec593f321c3c9a7c53b3d401886d1d9a..0aad1584e096d82091a93764c2871dc63e19e9f1 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Implementation of EFI Address Resolution Protocol (ARP) Protocol interface functions.\r
   \r
-Copyright (c) 2006, Intel Corporation.<BR>\r
+Copyright (c) 2006 - 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<BR>\r
@@ -628,7 +628,7 @@ ArpRequest (
     CacheEntry = ArpAllocCacheEntry (Instance);\r
     if (CacheEntry == NULL) {\r
       DEBUG ((EFI_D_ERROR, "ArpRequest: Allocate memory for CacheEntry failed.\n"));\r
-      gBS->FreePool (RequestContext);\r
+      FreePool (RequestContext);\r
 \r
       Status = EFI_OUT_OF_RESOURCES;\r
       goto UNLOCK_EXIT;\r