wininet: prevent memory leak and superfluous status notifications

Kevin Koltzau kevin at plop.org
Wed May 12 20:29:48 CDT 2004


Under Windows, InternetOpenUrl only sends one INTERNET_STATUS_HANDLE_CREATED and the
handle created by this function only creates one INTERNET_STATUS_HANDLE_CREATED when closed

We are currently sending two of each, once for the session handle and once for the request. The session
handle should not create these events when called from InternetOpenUrl.

Also the session handle was not being destroyed when the request was complete, creating a memory
leak.

Changelog
	Prevent memory leak and superfluous status notifications
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inetcallback.diff
Type: text/x-diff
Size: 7733 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040512/98bfbbf7/inetcallback.bin


More information about the wine-patches mailing list