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

This commit is contained in:
Huw Davies 2007-06-04 16:32:40 +01:00 committed by Alexandre Julliard
parent 0c71799d02
commit 1667af3a20
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}