Module: wine Branch: master Commit: 6da6f1861bb2f299c59c1a733ccfe5571b2594b3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6da6f1861bb2f299c59c1a733c...
Author: Huw Davies huw@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;