[PATCH] webservices/tests: Fix resource leak.

Hans Leidekker hans at codeweavers.com
Thu Jan 4 04:50:49 CST 2018


On Thu, 2018-01-04 at 11:23 +0200, Andrey Gusev wrote:
> diff --git a/dlls/webservices/tests/proxy.c b/dlls/webservices/tests/proxy.c
> index bc7ef81db7..3899665873 100644
> --- a/dlls/webservices/tests/proxy.c
> +++ b/dlls/webservices/tests/proxy.c
> @@ -729,6 +729,7 @@ START_TEST(proxy)
>      info.event = CreateEventW( NULL, 0, 0, NULL );
>      thread = CreateThread( NULL, 0, server_proc, &info, 0, NULL );
>      ok( thread != NULL, "failed to create server thread %u\n", GetLastError() );
> +    CloseHandle(thread);

The handle will be used later on.




More information about the wine-devel mailing list