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

@@ -335,21 +335,21 @@ Ip4ConfigDriverBindingStart (
Ip4ConfigWriteVariable (NewVariable);
if (NewVariable != NULL) {
gBS->FreePool (NewVariable);
FreePool (NewVariable);
}
ON_EXIT:
gBS->FreePool (Variable);
FreePool (Variable);
if (NicConfig != NULL) {
gBS->FreePool (NicConfig);
FreePool (NicConfig);
}
return EFI_SUCCESS;
ON_ERROR:
if (Instance != NULL) {
gBS->FreePool (Instance);
FreePool (Instance);
}
if (Mnp != NULL) {
@@ -506,7 +506,7 @@ Ip4ConfigDriverBindingStop (
Ip4ConfigCleanConfig (Instance);
mIp4ConfigNicList[Instance->NicIndex] = NULL;
gBS->FreePool (Instance);
FreePool (Instance);
return EFI_SUCCESS;
}