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;
|
HRESULT hres;
|
||||||
|
|
||||||
hres = create_plugin_host(window->doc, nselem, obj, &clsid, &host);
|
hres = create_plugin_host(window->doc, nselem, obj, &clsid, &host);
|
||||||
nsIDOMElement_Release(nselem);
|
|
||||||
IUnknown_Release(obj);
|
IUnknown_Release(obj);
|
||||||
if(SUCCEEDED(hres))
|
if(SUCCEEDED(hres))
|
||||||
instance->pdata = host;
|
instance->pdata = host;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user