Changeset 61037 in vbox for trunk/src/VBox/Storage/ISCSI.cpp
- Timestamp:
- May 18, 2016 1:43:31 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/ISCSI.cpp
r58170 r61037 3771 3771 pImage->pszTargetName = NULL; 3772 3772 } 3773 if (pImage->pszTargetAddress) 3774 { 3775 RTMemFree(pImage->pszTargetAddress); 3776 pImage->pszTargetAddress = NULL; 3777 } 3773 3778 if (pImage->pszInitiatorName) 3774 3779 { … … 3803 3808 RTMemFree(pImage->pvRecvPDUBuf); 3804 3809 pImage->pvRecvPDUBuf = NULL; 3810 } 3811 if (pImage->pszHostname) 3812 { 3813 RTMemFree(pImage->pszHostname); 3814 pImage->pszHostname = NULL; 3805 3815 } 3806 3816 … … 4179 4189 { 4180 4190 LogRel(("iSCSI: Could not get LUN info for target %s, rc=%Rrc\n", pImage->pszTargetName, rc)); 4181 return rc;4191 goto out; 4182 4192 } 4183 4193 … … 4544 4554 4545 4555 out: 4556 if (pszLUNInitial) 4557 RTMemFree(pszLUNInitial); 4546 4558 if (RT_FAILURE(rc)) 4547 4559 iscsiFreeImage(pImage, false);
Note:
See TracChangeset
for help on using the changeset viewer.