Thomas Faber : qcap: Destroy BaseOutputPin in VfwPin_Release.

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


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

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

qcap: Destroy BaseOutputPin in VfwPin_Release.

---

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

diff --git a/dlls/qcap/vfwcapture.c b/dlls/qcap/vfwcapture.c
index 2cbf493..2551534 100644
--- a/dlls/qcap/vfwcapture.c
+++ b/dlls/qcap/vfwcapture.c
@@ -779,7 +779,7 @@ VfwPin_Release(IPin * iface)
 
    if (!refCount)
    {
-      CoTaskMemFree(This);
+      BaseOutputPin_Destroy(&This->pin);
       ObjectRefCount(FALSE);
    }
    return refCount;




More information about the wine-cvs mailing list