diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-16 07:14:25 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-16 07:14:25 +0000 |
commit | 356e635c15556b50ecfba55f4e0e78718da9f788 (patch) | |
tree | eb33bcc31dbcf5fab8c7f6a2b77da0ec8ac46e5f /MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c | |
parent | 412339e0fbaa45a84d218e58a3cd1fb86f358938 (diff) | |
download | edk2-356e635c15556b50ecfba55f4e0e78718da9f788.zip edk2-356e635c15556b50ecfba55f4e0e78718da9f788.tar.gz edk2-356e635c15556b50ecfba55f4e0e78718da9f788.tar.bz2 |
[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
Diffstat (limited to 'MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c')
-rw-r--r-- | MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c index e196ffd..0f496a0 100644 --- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c +++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c @@ -205,6 +205,7 @@ IScsiUpdateDeviceList ( );
gBS->FreePool (DeviceList);
+ gBS->FreePool (Handles);
return Status;
}
|