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:
@@ -454,7 +454,7 @@ MnpRecycleRxData (
|
||||
//
|
||||
RemoveEntryList (&RxDataWrap->WrapEntry);
|
||||
|
||||
gBS->FreePool (RxDataWrap);
|
||||
FreePool (RxDataWrap);
|
||||
}
|
||||
|
||||
|
||||
@@ -739,7 +739,7 @@ MnpWrapRxData (
|
||||
if (EFI_ERROR (Status)) {
|
||||
|
||||
DEBUG ((EFI_D_ERROR, "MnpDispatchPacket: gBS->CreateEvent failed, %r.\n", Status));
|
||||
gBS->FreePool (RxDataWrap);
|
||||
FreePool (RxDataWrap);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user