Commit 35a744b2 authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

msvcr100/tests: Fix resource leak.

parent a64f3b9b
...@@ -936,6 +936,7 @@ static void test_ExternalContextBase(void) ...@@ -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)
......
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