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:
parent
97ad2b8b39
commit
fc92960cf4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue