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:
Andrey Gusev 2018-01-03 17:35:39 +02:00 committed by Alexandre Julliard
parent a64f3b9b70
commit 35a744b26b
1 changed files with 1 additions and 0 deletions

View File

@ -936,6 +936,7 @@ static void test_ExternalContextBase(void)
thread = CreateThread(NULL, 0, external_context_thread, NULL, 0, NULL);
ok(thread != NULL, "CreateThread failed: %d\n", GetLastError());
WaitForSingleObject(thread, INFINITE);
CloseHandle(thread);
}
static void test_Scheduler(void)