msvcr100/tests: Fix resource leak.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a64f3b9b70
commit
35a744b26b
|
@ -936,6 +936,7 @@ static void test_ExternalContextBase(void)
|
||||||
thread = CreateThread(NULL, 0, external_context_thread, NULL, 0, NULL);
|
thread = CreateThread(NULL, 0, external_context_thread, NULL, 0, NULL);
|
||||||
ok(thread != NULL, "CreateThread failed: %d\n", GetLastError());
|
ok(thread != NULL, "CreateThread failed: %d\n", GetLastError());
|
||||||
WaitForSingleObject(thread, INFINITE);
|
WaitForSingleObject(thread, INFINITE);
|
||||||
|
CloseHandle(thread);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void test_Scheduler(void)
|
static void test_Scheduler(void)
|
||||||
|
|
Loading…
Reference in New Issue