[PATCH 2/2] urlmon: Call IInternetProtocolSink_Release and ReleaseStgMedium in HttpProtocol where native does.

Misha Koshelev mk144210 at bcm.edu
Thu Aug 16 00:03:49 CDT 2007


I am aware that this results in the IInternetProtocolSink_Release never being called if the internet
handle does not end up being created, but this is native behavior as well (to see this just switch
the http to htp - something invalid - in the URL in dlls/urlmon/tests/protocol.c; MK_E_SYNTAX is returned
and ProtocolSink_AddRef gets called but not _Release) so I assume it is fair/proper to have it this way
in wine.
---
 dlls/urlmon/http.c |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bef11b0b72a31c2c3f6572df385ac15dbeda1e4d.diff
Type: text/x-patch
Size: 1586 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070816/25cc2ecd/bef11b0b72a31c2c3f6572df385ac15dbeda1e4d.bin


More information about the wine-patches mailing list