mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 02:10:07 +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)
|
||||
{
|
||||
int ret;
|
||||
|
||||
if (This->Status == IXP_DISCONNECTED)
|
||||
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);
|
||||
This->hwnd = NULL;
|
||||
|
|
|
@ -1610,6 +1610,7 @@ static HRESULT create_body_offset_list(IStream *stm, const char *boundary, struc
|
|||
} while(1);
|
||||
|
||||
end:
|
||||
HeapFree(GetProcessHeap(), 0, nl_boundary);
|
||||
HeapFree(GetProcessHeap(), 0, buf);
|
||||
return hr;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue