Maarten Lankhorst : quartz: Don't free memory twice in null renderer.

Alexandre Julliard julliard at winehq.org
Thu May 22 06:27:31 CDT 2008


Module: wine
Branch: master
Commit: 6d7518685e884d0d1a01230e0796cae513aa216c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6d7518685e884d0d1a01230e0796cae513aa216c

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Wed May 21 13:32:53 2008 -0700

quartz: Don't free memory twice in null renderer.

_Release already frees it.

---

 dlls/quartz/nullrenderer.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/quartz/nullrenderer.c b/dlls/quartz/nullrenderer.c
index 4bf2c84..45315f7 100644
--- a/dlls/quartz/nullrenderer.c
+++ b/dlls/quartz/nullrenderer.c
@@ -282,7 +282,6 @@ static ULONG WINAPI NullRendererInner_Release(IUnknown * iface)
         IPin_Disconnect((IPin *)This->pInputPin);
         IPin_Release((IPin *)This->pInputPin);
 
-        CoTaskMemFree((IPin *)This->pInputPin);
         This->lpVtbl = NULL;
 
         This->csFilter.DebugInfo->Spare[0] = 0;




More information about the wine-cvs mailing list