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
This commit is contained in:
xdu2
2009-11-13 06:13:59 +00:00
parent 2f3c9af25e
commit 766c7483c3
42 changed files with 192 additions and 192 deletions

View File

@@ -298,7 +298,7 @@ Ip4CreateService (
ON_ERROR:
Ip4CleanService (IpSb);
gBS->FreePool (IpSb);
FreePool (IpSb);
return Status;
}
@@ -488,7 +488,7 @@ UNINSTALL_PROTOCOL:
FREE_SERVICE:
Ip4CleanService (IpSb);
gBS->FreePool (IpSb);
FreePool (IpSb);
return Status;
}
@@ -686,7 +686,7 @@ Ip4DriverBindingStop (
ServiceBinding
);
gBS->FreePool (IpSb);
FreePool (IpSb);
} else if (NumberOfChildren == 0) {
IpSb->InDestory = TRUE;
@@ -714,7 +714,7 @@ Ip4DriverBindingStop (
ServiceBinding
);
gBS->FreePool (IpSb);
FreePool (IpSb);
} else {
while (!IsListEmpty (&IpSb->Children)) {
@@ -834,7 +834,7 @@ ON_ERROR:
Ip4CleanProtocol (IpInstance);
gBS->FreePool (IpInstance);
FreePool (IpInstance);
}
return Status;
@@ -971,7 +971,7 @@ Ip4ServiceBindingDestroyChild (
gBS->RestoreTPL (OldTpl);
gBS->FreePool (IpInstance);
FreePool (IpInstance);
return EFI_SUCCESS;
ON_ERROR: