[Bug 26591] Slingplayer 2 crashes when clicking on "Log in" when compiled with gcc -O0
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Mar 29 15:47:17 CDT 2011
http://bugs.winehq.org/show_bug.cgi?id=26591
--- Comment #5 from Nikolay Sivov <bunglehead at gmail.com> 2011-03-29 15:47:17 CDT ---
Mmm, does it help if you adjust error handling a bit here:
---
hr = IMoniker_BindToStorage(moniker, pbc, NULL, &IID_IStream, (void**)&stream);
IMoniker_Release(moniker);
if (stream) IStream_Release(stream);
---
Change that to let's say
---
- if (stream) IStream_Release(stream)
+ if (hr == S_OK) IStream_Release(stream)
---
There's a failure path in urlmon that doesn't reset stream pointer, could be a
problem.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list