4 Jun
2024
4 Jun
'24
8:04 a.m.
Huw Davies (@huw) commented about dlls/mmdevapi/session.c:
ret->master_vol = 1.f;
+ ret->display_name = duplicate_wstr(L"");
I think it would be better, especially given that we never free the sessions, to init this with `NULL` and fix up `duplicate_wstr()` to allocate an empty string in the case that the src is `NULL`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5773#note_72288