/** @file\r
ARP driver functions.\r
\r
-Copyright (c) 2006 - 2008, 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
// On error, clean the arp service context data, and free the memory allocated.\r
//\r
ArpCleanService (ArpService);\r
- gBS->FreePool (ArpService);\r
+ FreePool (ArpService);\r
\r
return Status;\r
}\r
//\r
ArpCleanService (ArpService);\r
\r
- gBS->FreePool (ArpService);\r
+ FreePool (ArpService);\r
} else {\r
\r
while (!IsListEmpty (&ArpService->ChildrenList)) {\r
if (EFI_ERROR (Status)) {\r
DEBUG ((EFI_D_ERROR, "ArpSBCreateChild: faild to install ARP protocol, %r.\n", Status));\r
\r
- gBS->FreePool (Instance);\r
+ FreePool (Instance);\r
return Status;\r
}\r
\r
//\r
// Free the allocated memory.\r
//\r
- gBS->FreePool (Instance);\r
+ FreePool (Instance);\r
}\r
\r
return Status;\r
\r
gBS->RestoreTPL (OldTpl);\r
\r
- gBS->FreePool (Instance);\r
+ FreePool (Instance);\r
\r
return Status;\r
}\r