mshtml: Fixed double release in NPP_New.
This commit is contained in:
parent
615319ebd0
commit
519166a448
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue