Commit dc9088b9 authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

wininet/tests: Fix resource leak.

parent 67e80856
......@@ -5459,7 +5459,10 @@ static void test_http_connection(void)
r = WaitForSingleObject(si.hEvent, 10000);
ok (r == WAIT_OBJECT_0, "failed to start wininet test server\n");
if (r != WAIT_OBJECT_0)
{
CloseHandle(hThread);
return;
}
test_basic_request(si.port, "GET", "/test1");
test_proxy_indirect(si.port);
......
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