kernel32/tests: Fix a thread handle leak.

oldstable
Hans Leidekker 2010-02-22 12:27:01 +01:00 committed by Alexandre Julliard
parent 68ab799924
commit b7696db161
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}