Huw Davies : mshtml: Release a leaked class factory.

Alexandre Julliard julliard at winehq.org
Mon Jan 13 12:46:33 CST 2014


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Mon Jan 13 13:32:27 2014 +0000

mshtml: Release a leaked class factory.

---

 dlls/mshtml/npplugin.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/mshtml/npplugin.c b/dlls/mshtml/npplugin.c
index f5eb754..0ce72ff 100644
--- a/dlls/mshtml/npplugin.c
+++ b/dlls/mshtml/npplugin.c
@@ -635,6 +635,7 @@ static IUnknown *create_activex_object(HTMLInnerWindow *window, nsIDOMElement *n
     }
 
     hres = IClassFactory_CreateInstance(cf, NULL, &IID_IUnknown, (void**)&obj);
+    IClassFactory_Release(cf);
     if(FAILED(hres))
         return NULL;
 




More information about the wine-cvs mailing list