[Bug 27531] Magic - DotP 2012 crash in gameoverlayrenderer

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jun 20 09:30:50 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=27531

--- Comment #7 from Andrew Eikum <aeikum at codeweavers.com> 2011-06-20 09:30:49 CDT ---
Created an attachment (id=35211)
 --> (http://bugs.winehq.org/attachment.cgi?id=35211)
mmdevapi: Fix refcounts in IAudioClient::GetService

This is an updated version of the patch for Bug 27511. Commit 6dac4d713ce9b
introduced the bug. In 6dac4d713ce9b, we allow NULL clients in
AudioSessionWrappers, and so we need to check that we have a valid client
before trying to release it in IAudioSessionControl::Release. The other drivers
do that correctly, but I missed adding the check to winecoreaudio. This patch
adds it, in addition to fixing the other refcounting bug from 27511.

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