Changeset 28910 in vbox
- Timestamp:
- Apr 29, 2010 4:40:16 PM (15 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/pathhost-generic.cpp
r28908 r28910 185 185 { 186 186 if (g_fPassthruUtf8 || !*pszPath) 187 *ppszNativePath = RTStrDup(pszPath);187 *ppszNativePath = (char *)pszPath; 188 188 else 189 189 rc = rtStrConvert(pszPath, strlen(pszPath), "UTF-8", -
trunk/src/VBox/Runtime/r3/posix/path-posix.cpp
r28901 r28910 849 849 else 850 850 rc = VERR_GENERAL_FAILURE; 851 RTStrFree(pszNativePath);851 rtPathFreeNative(pszNativePath); 852 852 } 853 853 return RT_SUCCESS(rc); … … 900 900 if (chdir(pszNativePath)) 901 901 rc = RTErrConvertFromErrno(errno); 902 RTStrFree(pszNativePath);903 } 904 return rc; 905 } 906 902 rtPathFreeNative(pszNativePath); 903 } 904 return rc; 905 } 906
Note:
See TracChangeset
for help on using the changeset viewer.