]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/Ip4ConfigDxe/NicIp4Variable.c
Update OVMF BDS Library to call GenericBdsLib function to save gEfiMemoryTypeInformation
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Ip4ConfigDxe / NicIp4Variable.c
index 17709af10703caa1e50c8b3723c75184428f4579..2d645beec0dd98d28a0e540c25d8b3712c2853eb 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Routines used to operate the Ip4 configure variable.\r
 \r
-Copyright (c) 2006 - 2009, Intel Corporation.<BR>                                                         \r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+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
 http://opensource.org/licenses/bsd-license.php\r
@@ -151,7 +151,7 @@ REMOVE_VARIABLE:
 \r
 ON_ERROR:\r
   if (Variable != NULL) {\r
-    gBS->FreePool (Variable);\r
+    FreePool (Variable);\r
   }\r
 \r
   return NULL;\r
@@ -296,7 +296,7 @@ Ip4ConfigModifyVariable (
 \r
     if (Old != NULL) {\r
       TotalLen -= SIZEOF_NIC_IP4_CONFIG_INFO (Old);\r
-      gBS->FreePool (Old);\r
+      FreePool (Old);\r
     }\r
 \r
     if (Config != NULL) {\r