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:
@@ -165,7 +165,7 @@ IScsiCHAPOnRspReceived (
|
||||
//
|
||||
KeyValueList = IScsiBuildKeyValueList ((CHAR8 *) Data, Len);
|
||||
if (KeyValueList == NULL) {
|
||||
gBS->FreePool (Data);
|
||||
FreePool (Data);
|
||||
return EFI_OUT_OF_RESOURCES;
|
||||
}
|
||||
|
||||
@@ -295,7 +295,7 @@ ON_EXIT:
|
||||
|
||||
IScsiFreeKeyValueList (KeyValueList);
|
||||
|
||||
gBS->FreePool (Data);
|
||||
FreePool (Data);
|
||||
|
||||
return Status;
|
||||
}
|
||||
@@ -422,8 +422,8 @@ IScsiCHAPToSendReq (
|
||||
break;
|
||||
}
|
||||
|
||||
gBS->FreePool (Response);
|
||||
gBS->FreePool (Challenge);
|
||||
FreePool (Response);
|
||||
FreePool (Challenge);
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
Reference in New Issue
Block a user