Thomas Faber : quartz: Destroy BaseOutputPin in FileAsyncReaderPin_Release.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 28 20:50:43 CDT 2014


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

Author: Thomas Faber <thomas.faber at reactos.org>
Date:   Sun Jul 27 11:39:55 2014 +0200

quartz: Destroy BaseOutputPin in FileAsyncReaderPin_Release.

---

 dlls/quartz/filesource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/quartz/filesource.c b/dlls/quartz/filesource.c
index 96d83a1..84e4214 100644
--- a/dlls/quartz/filesource.c
+++ b/dlls/quartz/filesource.c
@@ -849,7 +849,7 @@ static ULONG WINAPI FileAsyncReaderPin_Release(IPin * iface)
         CloseHandle(This->hFile);
         This->csList.DebugInfo->Spare[0] = 0;
         DeleteCriticalSection(&This->csList);
-        CoTaskMemFree(This);
+        BaseOutputPin_Destroy(&This->pin);
         return 0;
     }
     return refCount;




More information about the wine-cvs mailing list