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:
@@ -85,7 +85,7 @@ Ip4FreeAssembleEntry (
|
||||
NetbufFree (Fragment);
|
||||
}
|
||||
|
||||
gBS->FreePool (Assemble);
|
||||
FreePool (Assemble);
|
||||
}
|
||||
|
||||
|
||||
@@ -1024,7 +1024,7 @@ Ip4OnRecyclePacket (
|
||||
NetbufFree (Wrap->Packet);
|
||||
|
||||
gBS->CloseEvent (Wrap->RxData.RecycleSignal);
|
||||
gBS->FreePool (Wrap);
|
||||
FreePool (Wrap);
|
||||
}
|
||||
|
||||
|
||||
@@ -1076,7 +1076,7 @@ Ip4WrapRxData (
|
||||
);
|
||||
|
||||
if (EFI_ERROR (Status)) {
|
||||
gBS->FreePool (Wrap);
|
||||
FreePool (Wrap);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user