Fix leak regression from timeless's checkin yesterday. b=235882 r=caillon sr=jst

This commit is contained in:
dbaron%dbaron.org 2004-03-09 23:17:19 +00:00
parent 09ed038b72
commit d775fce404

View File

@ -3242,7 +3242,7 @@ nsComponentManagerImpl::AutoRegisterImpl(PRInt32 when,
nsCOMPtr<nsIComponentLoader> loader;
int typeIndex;
rv = AddLoaderType(loaderType.get(), &typeIndex);
if (NS_FAILED(rv));
if (NS_FAILED(rv))
return rv;
GetLoaderForType(typeIndex, getter_AddRefs(loader));
}