[QUARTZ] Small video renderer fix
Christian Costa
titan.costa at wanadoo.fr
Fri Jun 3 17:09:34 CDT 2005
Hi,
Changelog:
Release clock only when one is set.
Christian Costa titan.costa at wanadoo.fr
-------------- next part --------------
Index: dlls/quartz/videorenderer.c
===================================================================
RCS file: /home/wine/wine/dlls/quartz/videorenderer.c,v
retrieving revision 1.8
diff -u -r1.8 videorenderer.c
--- dlls/quartz/videorenderer.c 28 Mar 2005 14:17:51 -0000 1.8
+++ dlls/quartz/videorenderer.c 3 Jun 2005 20:52:20 -0000
@@ -422,7 +422,9 @@
if (!refCount)
{
DeleteCriticalSection(&This->csFilter);
- IReferenceClock_Release(This->pClock);
+
+ if (This->pClock)
+ IReferenceClock_Release(This->pClock);
IPin_Release(This->ppPins[0]);
More information about the wine-patches
mailing list