Jacek Caban : mshtml: Fixed double release in NPP_New.

Alexandre Julliard julliard at winehq.org
Fri Jan 10 13:22:46 CST 2014


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Jan 10 16:22:17 2014 +0100

mshtml: Fixed double release in NPP_New.

---

 dlls/mshtml/npplugin.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/mshtml/npplugin.c b/dlls/mshtml/npplugin.c
index e681568..57bb772 100644
--- a/dlls/mshtml/npplugin.c
+++ b/dlls/mshtml/npplugin.c
@@ -671,7 +671,6 @@ static NPError CDECL NPP_New(NPMIMEType pluginType, NPP instance, UINT16 mode, I
         HRESULT hres;
 
         hres = create_plugin_host(window->doc, nselem, obj, &clsid, &host);
-        nsIDOMElement_Release(nselem);
         IUnknown_Release(obj);
         if(SUCCEEDED(hres))
             instance->pdata = host;




More information about the wine-cvs mailing list