[inetcomm]

sync inetcomm with wine 1.1.35

svn path=/trunk/; revision=44730
This commit is contained in:
Christoph von Wittich 2009-12-23 11:32:32 +00:00
parent 39a8faa3dc
commit e2af57a32d
2 changed files with 3 additions and 4 deletions

View file

@ -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;

View file

@ -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;
}