Commit 1667af3a authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

mshtml: Don't release the factory if we failed to get it.

parent 0c71799d
......@@ -2189,7 +2189,6 @@ void init_nsio(nsIComponentManager *component_manager, nsIComponentRegistrar *re
&IID_nsIFactory, (void**)&old_factory);
if(NS_FAILED(nsres)) {
ERR("Could not get factory: %08x\n", nsres);
nsIFactory_Release(old_factory);
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment