Author: cwittich
Date: Wed Dec 23 12:32:32 2009
New Revision: 44730
URL:
http://svn.reactos.org/svn/reactos?rev=44730&view=rev
Log:
[inetcomm]
sync inetcomm with wine 1.1.35
Modified:
trunk/reactos/dll/win32/inetcomm/internettransport.c
trunk/reactos/dll/win32/inetcomm/mimeole.c
Modified: trunk/reactos/dll/win32/inetcomm/internettransport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/inetcomm/interne…
==============================================================================
--- trunk/reactos/dll/win32/inetcomm/internettransport.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/inetcomm/internettransport.c [iso-8859-1] Wed Dec 23 12:32:32
2009
@@ -167,14 +167,12 @@
HRESULT InternetTransport_DropConnection(InternetTransport *This)
{
- int ret;
-
- if (This->Status == IXP_DISCONNECTED)
- return IXP_E_NOT_CONNECTED;
-
- ret = shutdown(This->Socket, SD_BOTH);
-
- ret = closesocket(This->Socket);
+ if (This->Status == IXP_DISCONNECTED)
+ return IXP_E_NOT_CONNECTED;
+
+ shutdown(This->Socket, SD_BOTH);
+
+ closesocket(This->Socket);
DestroyWindow(This->hwnd);
This->hwnd = NULL;
Modified: trunk/reactos/dll/win32/inetcomm/mimeole.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/inetcomm/mimeole…
==============================================================================
--- trunk/reactos/dll/win32/inetcomm/mimeole.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/inetcomm/mimeole.c [iso-8859-1] Wed Dec 23 12:32:32 2009
@@ -1610,6 +1610,7 @@
} while(1);
end:
+ HeapFree(GetProcessHeap(), 0, nl_boundary);
HeapFree(GetProcessHeap(), 0, buf);
return hr;
}