From: Jinoh Kang <jinoh.kang.kr(a)gmail.com> The supplied async handle passed to set_async_direct_result() cannot be NULL. Fixes: dca8626be5cafe77a55b9bdff19bfb0f42b31e2c --- dlls/ntdll/unix/sync.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dlls/ntdll/unix/sync.c b/dlls/ntdll/unix/sync.c index bfbcaf4a851..7e2927390d3 100644 --- a/dlls/ntdll/unix/sync.c +++ b/dlls/ntdll/unix/sync.c @@ -2620,7 +2620,6 @@ NTSTATUS WINAPI NtWaitForAlertByThreadId( const void *address, const LARGE_INTEG #endif /* Notify direct completion of async and close the wait handle if it is no longer needed. - * This function is a no-op (returns status as-is) if the supplied handle is NULL. */ void set_async_direct_result( HANDLE *async_handle, NTSTATUS status, ULONG_PTR information, BOOL mark_pending ) { -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/5063