kernel32/tests: Fix a thread handle leak.
This commit is contained in:
parent
68ab799924
commit
b7696db161
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue