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

@@ -1161,7 +1161,7 @@ PxeBcDiscvBootService (
Status = Dhcp4->Build (Dhcp4, &Private->SeedPacket, 0, NULL, OptCount, OptList, &Token.Packet);
if (IsDiscv) {
gBS->FreePool (OptList[OptCount - 1]);
FreePool (OptList[OptCount - 1]);
}
if (EFI_ERROR (Status)) {
@@ -1270,12 +1270,12 @@ PxeBcDiscvBootService (
//
// free the responselist
//
gBS->FreePool (Token.ResponseList);
FreePool (Token.ResponseList);
}
//
// Free the dhcp packet
//
gBS->FreePool (Token.Packet);
FreePool (Token.Packet);
return Status;
}

View File

@@ -463,7 +463,7 @@ ON_ERROR:
);
}
gBS->FreePool (Private);
FreePool (Private);
return Status;
}
@@ -626,7 +626,7 @@ PxeBcDriverBindingStop (
Private->ArpChild
);
gBS->FreePool (Private);
FreePool (Private);
}
return Status;

View File

@@ -1376,7 +1376,7 @@ ON_EXIT:
gBS->CloseEvent (Token.Event);
}
gBS->FreePool (Udp4TxData);
FreePool (Udp4TxData);
return Status;
}

View File

@@ -196,12 +196,12 @@ PxeBcTftpGetFileSize (
OptCnt--;
}
gBS->FreePool (Option);
FreePool (Option);
ON_ERROR:
if (Packet != NULL) {
gBS->FreePool (Packet);
FreePool (Packet);
}
Mtftp4->Configure (Mtftp4, NULL);