mshtml: Release a leaked class factory.
This commit is contained in:
parent
0485e528f7
commit
6da6f1861b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue