mirror of https://github.com/acidanthera/audk.git
[Description]
Memory may leak because the handles in IScsiUpdateDeviceList is not freed if the "iSCSIDeviceList" already exists [Impaction] add Free() func to free memory properly. [Reference Info] The Handles in IScsiUpdateDeviceList is not freed if the "iSCSIDeviceList" already exists git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5211 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
412339e0fb
commit
356e635c15
|
@ -205,6 +205,7 @@ IScsiUpdateDeviceList (
|
|||
);
|
||||
|
||||
gBS->FreePool (DeviceList);
|
||||
gBS->FreePool (Handles);
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue