25 Jan
2023
25 Jan
'23
noon
Jinoh Kang (@iamahuman) commented about dlls/windows.media.speech/recognizer.c:
list_init(&session->completed_handlers); list_init(&session->result_handlers);
+ if (!(session->worker_control_event = CreateEventW(NULL, FALSE, FALSE, NULL))) + { + hr = HRESULT_FROM_WIN32(GetLastError()); + goto error;
(This is the point where we reach `error` with `session->worker_control_event` set to NULL.) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1948#note_21765