Commit eba8c8d6 authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

mshtml: Fix factory leak in init_nsio.

parent a80a3be4
......@@ -4000,9 +4000,9 @@ void init_nsio(nsIComponentManager *component_manager)
}
nsres = nsIFactory_CreateInstance(old_factory, NULL, &IID_nsIIOService, (void**)&nsio);
nsIFactory_Release(old_factory);
if(NS_FAILED(nsres)) {
ERR("Couldn not create nsIOService instance %08lx\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