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:
@ -139,7 +139,7 @@ Mtftp4SetLastBlockNum (
|
||||
|
||||
if (Range->Start > Last) {
|
||||
RemoveEntryList (&Range->Link);
|
||||
gBS->FreePool (Range);
|
||||
FreePool (Range);
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -209,7 +209,7 @@ Mtftp4RemoveBlockNum (
|
||||
|
||||
if (Range->Start > Range->End) {
|
||||
RemoveEntryList (&Range->Link);
|
||||
gBS->FreePool (Range);
|
||||
FreePool (Range);
|
||||
}
|
||||
|
||||
return EFI_SUCCESS;
|
||||
|
Reference in New Issue
Block a user