j
k
j a
j l
Huw Davies (@huw) commented about dlls/mmdevapi/session.c:
extern void sessions_lock(void); extern void sessions_unlock(void); +WCHAR *duplicate_wstr(const WCHAR *str) +{ int len = (lstrlenW(str) + 1) * sizeof(WCHAR);
extern void sessions_lock(void); extern void sessions_unlock(void);
+WCHAR *duplicate_wstr(const WCHAR *str) +{
Let's use `wcslen()`.
Back to the thread
Back to the list