More XPCOM Glue changes and fixes. r=waterson, sr=rpotts, 154262.

git-svn-id: svn://10.0.0.236/trunk@124420 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2002-07-01 20:37:17 +00:00
parent 79776cb2e2
commit d65d49c1a2
7 changed files with 34 additions and 113 deletions

View File

@@ -361,12 +361,14 @@ nsGenericModule::GetClassObject(nsIComponentManager *aCompMgr,
desc++;
}
// not found in descriptions
#ifdef DEBUG
#ifndef XPCOM_GLUE
#ifdef DEBUG
char* cs = aClass.ToString();
fprintf(stderr, "+++ nsGenericModule %s: unable to create factory for %s\n", mModuleName, cs);
// leak until we resolve the nsID Allocator.
// nsCRT::free(cs);
#endif // XXX put in stop-gap so that we don't search for this one again
#endif
return NS_ERROR_FACTORY_NOT_REGISTERED;
}