Changeset 34265 in vbox for trunk/src/VBox/HostDrivers/VBoxUSB/win
- Timestamp:
- Nov 22, 2010 6:53:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/USBLib-win.cpp
r34264 r34265 2919 2919 if (pDevice) 2920 2920 { 2921 RT MemFree((void*)pDevice->pszAddress);2921 RTStrFree((char*)pDevice->pszAddress); 2922 2922 RTStrFree(pDevice->pszAltAddress); 2923 2923 RTStrFree(pDevice->pszHubName); 2924 RT MemFree((void*)pDevice->pszManufacturer);2925 RT MemFree((void*)pDevice->pszProduct);2926 RT MemFree((void*)pDevice->pszSerialNumber);2924 RTStrFree((char*)pDevice->pszManufacturer); 2925 RTStrFree((char*)pDevice->pszProduct); 2926 RTStrFree((char*)pDevice->pszSerialNumber); 2927 2927 RTMemFree(pDevice); 2928 2928 } … … 2985 2985 PUSBDEVICE pNext = pDevice->pNext; 2986 2986 2987 RTMemFree((void *)pDevice->pszAddress); 2988 RTMemFree((void *)pDevice->pszManufacturer); 2989 RTMemFree((void *)pDevice->pszProduct); 2990 RTMemFree((void *)pDevice->pszSerialNumber); 2987 RTStrFree((char*)pDevice->pszAddress); 2988 RTStrFree(pDevice->pszAltAddress); 2989 RTStrFree(pDevice->pszHubName); 2990 RTStrFree((char*)pDevice->pszManufacturer); 2991 RTStrFree((char*)pDevice->pszProduct); 2992 RTStrFree((char*)pDevice->pszSerialNumber); 2991 2993 RTMemFree(pDevice); 2992 2994 … … 3000 3002 if (pDevice) 3001 3003 { 3002 RTMemFree((void *)pDevice->pszAddress); 3003 RTMemFree((void *)pDevice->pszManufacturer); 3004 RTMemFree((void *)pDevice->pszProduct); 3005 RTMemFree((void *)pDevice->pszSerialNumber); 3004 RTStrFree((char*)pDevice->pszAddress); 3005 RTStrFree(pDevice->pszAltAddress); 3006 RTStrFree(pDevice->pszHubName); 3007 RTStrFree((char*)pDevice->pszManufacturer); 3008 RTStrFree((char*)pDevice->pszProduct); 3009 RTStrFree((char*)pDevice->pszSerialNumber); 3006 3010 RTMemFree(pDevice); 3007 3011 }
Note:
See TracChangeset
for help on using the changeset viewer.