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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user