[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:
eric_tian 2008-05-16 07:14:25 +00:00
parent 412339e0fb
commit 356e635c15
1 changed files with 1 additions and 0 deletions

View File

@ -205,6 +205,7 @@ IScsiUpdateDeviceList (
); );
gBS->FreePool (DeviceList); gBS->FreePool (DeviceList);
gBS->FreePool (Handles);
return Status; return Status;
} }