Changeset 41443 in vbox for trunk/src/VBox/Additions/WINNT/VBoxTray
- Timestamp:
- May 25, 2012 7:52:59 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 78174
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxSharedFolders.cpp ¶
r41442 r41443 36 36 rc = VbglR3SharedFolderGetMappings(u32ClientId, true /* Only process auto-mounted folders */, 37 37 &paMappings, &cMappings); 38 if (RT_SUCCESS(rc) && cMappings)38 if (RT_SUCCESS(rc)) 39 39 { 40 40 #if 0 … … 122 122 } 123 123 #endif 124 RTMemFree(paMappings);124 VbglR3SharedFolderFreeMappings(paMappings); 125 125 } 126 else if (RT_FAILURE(rc))126 else 127 127 Log(("VBoxTray: Error while getting the shared folder mappings, rc = %Rrc\n", rc)); 128 128 VbglR3SharedFolderDisconnect(u32ClientId); … … 144 144 rc = VbglR3SharedFolderGetMappings(u32ClientId, true /* Only process auto-mounted folders */, 145 145 &paMappings, &cMappings); 146 if (RT_SUCCESS(rc) && cMappings)146 if (RT_SUCCESS(rc)) 147 147 { 148 148 for (uint32_t i = 0; i < cMappings && RT_SUCCESS(rc); i++) … … 190 190 paMappings[i].u32Root, rc)); 191 191 } 192 RTMemFree(paMappings);192 VbglR3SharedFolderFreeMappings(paMappings); 193 193 } 194 else if (cMappings)194 else 195 195 Log(("VBoxTray: Error while getting the shared folder mappings, rc = %Rrc\n", rc)); 196 196 VbglR3SharedFolderDisconnect(u32ClientId);
Note:
See TracChangeset
for help on using the changeset viewer.