urlmon: Use InternetCloseHandle instead of CloseHandle.
This commit is contained in:
parent
442ec6acdd
commit
c2534d0cd6
|
@ -147,10 +147,20 @@ static void HTTPPROTOCOL_Close(HttpProtocol *This)
|
||||||
This->http_negotiate = 0;
|
This->http_negotiate = 0;
|
||||||
}
|
}
|
||||||
if (This->request)
|
if (This->request)
|
||||||
|
{
|
||||||
InternetCloseHandle(This->request);
|
InternetCloseHandle(This->request);
|
||||||
CloseHandle(This->connect);
|
This->request = 0;
|
||||||
CloseHandle(This->internet);
|
}
|
||||||
This->request = This->connect = This->internet = 0;
|
if (This->connect)
|
||||||
|
{
|
||||||
|
InternetCloseHandle(This->connect);
|
||||||
|
This->connect = 0;
|
||||||
|
}
|
||||||
|
if (This->internet)
|
||||||
|
{
|
||||||
|
InternetCloseHandle(This->internet);
|
||||||
|
This->internet = 0;
|
||||||
|
}
|
||||||
This->flags = 0;
|
This->flags = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue