Alexander Dorofeyev : quartz: Fix memleak in FilterMapper2_RegisterFilter.

Alexandre Julliard julliard at winehq.org
Wed Jul 2 06:03:41 CDT 2008


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

Author: Alexander Dorofeyev <alexd4 at inbox.lv>
Date:   Wed Jul  2 00:59:21 2008 +0300

quartz: Fix memleak in FilterMapper2_RegisterFilter.

---

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

diff --git a/dlls/quartz/filtermapper.c b/dlls/quartz/filtermapper.c
index 3a84b7d..925d709 100644
--- a/dlls/quartz/filtermapper.c
+++ b/dlls/quartz/filtermapper.c
@@ -855,6 +855,7 @@ static HRESULT WINAPI FilterMapper2_RegisterFilter(
     if (pPropBag)
         IPropertyBag_Release(pPropBag);
     CoTaskMemFree(szClsidTemp);
+    CoTaskMemFree(pwszParseName);
 
     if (SUCCEEDED(hr) && ppMoniker)
         *ppMoniker = pMoniker;




More information about the wine-cvs mailing list