wininet/tests: Fix resource leak.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
67e80856e6
commit
dc9088b9eb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue