QUARTZ: check for NULL before IReferenceClock_Release

Alex Villací­s Lasso a_villacis at palosanto.com
Tue Jun 14 11:10:24 CDT 2005


Andreas Mohr wrote:

>Hi,
>
>On Tue, Jun 14, 2005 at 10:32:25AM -0500, Alex Villací­s Lasso wrote:
>  
>
>>While trying to isolate an AVIFile bug, this other bug showed up. The 
>>function TransformFilter_Release tries to decrement a reference counter 
>>on a NULL pClock, which inmediately segfaults. This patch corrects this 
>>bug:
>>    
>>
>
>Patch?
>
>Andreas Mohr
>  
>
I thought I was too smart to commit such a stupid mistake... Shame on me.

Here is the patch.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-quartz-transform-nullpClock.patch
Type: text/x-patch
Size: 452 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050614/4522373f/wine-quartz-transform-nullpClock.bin


More information about the wine-patches mailing list