Changeset 3999 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Aug 2, 2007 11:20:25 AM (17 years ago)
- Location:
- trunk/src/VBox/HostServices/SharedFolders
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedFolders/testcase/tstShflCase.cpp
r3993 r3999 193 193 uint32_t cbDirEntry, cbComponent; 194 194 int rc = VERR_FILE_NOT_FOUND; 195 PRTDIR hSearch ;195 PRTDIR hSearch = 0; 196 196 char szWildCard[4]; 197 197 … … 257 257 RTMemFree(pDirEntry); 258 258 259 RTDirClose(hSearch); 259 if (hSearch) 260 RTDirClose(hSearch); 260 261 return rc; 261 262 } -
trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp
r3997 r3999 100 100 uint32_t cbDirEntry, cbComponent; 101 101 int rc = VERR_FILE_NOT_FOUND; 102 PRTDIR hSearch ;102 PRTDIR hSearch = 0; 103 103 char szWildCard[4]; 104 104 … … 165 165 RTMemFree(pDirEntry); 166 166 167 RTDirClose(hSearch); 167 if (hSearch) 168 RTDirClose(hSearch); 168 169 return rc; 169 170 }
Note:
See TracChangeset
for help on using the changeset viewer.