Commit b7696db1 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

kernel32/tests: Fix a thread handle leak.

parent 68ab7999
......@@ -79,6 +79,7 @@ static DWORD FinishNotificationThread(HANDLE thread)
ok(status == WAIT_OBJECT_0, "WaitForSingleObject status %d error %d\n", status, GetLastError());
ok(GetExitCodeThread(thread, &exitcode), "Could not retrieve thread exit code\n");
CloseHandle(thread);
return exitcode;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment