mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 23:46:50 +00:00
[inetcomm]
sync inetcomm with wine 1.1.35 svn path=/trunk/; revision=44730
This commit is contained in:
parent
39a8faa3dc
commit
e2af57a32d
|
@ -167,14 +167,12 @@ HRESULT InternetTransport_HandsOffCallback(InternetTransport *This)
|
||||||
|
|
||||||
HRESULT InternetTransport_DropConnection(InternetTransport *This)
|
HRESULT InternetTransport_DropConnection(InternetTransport *This)
|
||||||
{
|
{
|
||||||
int ret;
|
|
||||||
|
|
||||||
if (This->Status == IXP_DISCONNECTED)
|
if (This->Status == IXP_DISCONNECTED)
|
||||||
return IXP_E_NOT_CONNECTED;
|
return IXP_E_NOT_CONNECTED;
|
||||||
|
|
||||||
ret = shutdown(This->Socket, SD_BOTH);
|
shutdown(This->Socket, SD_BOTH);
|
||||||
|
|
||||||
ret = closesocket(This->Socket);
|
closesocket(This->Socket);
|
||||||
|
|
||||||
DestroyWindow(This->hwnd);
|
DestroyWindow(This->hwnd);
|
||||||
This->hwnd = NULL;
|
This->hwnd = NULL;
|
||||||
|
|
|
@ -1610,6 +1610,7 @@ static HRESULT create_body_offset_list(IStream *stm, const char *boundary, struc
|
||||||
} while(1);
|
} while(1);
|
||||||
|
|
||||||
end:
|
end:
|
||||||
|
HeapFree(GetProcessHeap(), 0, nl_boundary);
|
||||||
HeapFree(GetProcessHeap(), 0, buf);
|
HeapFree(GetProcessHeap(), 0, buf);
|
||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue