services/tests: Fix resource leak.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrey Gusev 2018-01-11 17:47:04 +02:00 committed by Alexandre Julliard
parent 97ad2b8b39
commit fc92960cf4
1 changed files with 1 additions and 0 deletions

View File

@ -561,6 +561,7 @@ static void test_runner(void (*p_run_test)(void))
WaitForSingleObject(thread, INFINITE);
CloseHandle(event_handle);
CloseHandle(pipe_handle);
CloseHandle(thread);
}
START_TEST(service)