Commit c2534d0c authored by Misha Koshelev's avatar Misha Koshelev Committed by Alexandre Julliard

urlmon: Use InternetCloseHandle instead of CloseHandle.

parent 442ec6ac
......@@ -147,10 +147,20 @@ static void HTTPPROTOCOL_Close(HttpProtocol *This)
This->http_negotiate = 0;
}
if (This->request)
{
InternetCloseHandle(This->request);
CloseHandle(This->connect);
CloseHandle(This->internet);
This->request = This->connect = This->internet = 0;
This->request = 0;
}
if (This->connect)
{
InternetCloseHandle(This->connect);
This->connect = 0;
}
if (This->internet)
{
InternetCloseHandle(This->internet);
This->internet = 0;
}
This->flags = 0;
}
......
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