Removing wrong delete.
git-svn-id: svn://10.0.0.236/trunk@20171 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -761,7 +761,6 @@ nsresult nsRepository::RegisterFactory(const nsCID &aClass,
|
||||
else
|
||||
{
|
||||
PR_LOG(logmodule, PR_LOG_WARNING, ("\t\tdeleting old Factory Entry."));
|
||||
delete old;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -805,7 +804,6 @@ nsresult nsRepository::RegisterFactory(const nsCID &aClass,
|
||||
else
|
||||
{
|
||||
PR_LOG(logmodule, PR_LOG_WARNING,("\t\tdeleting registered Factory."));
|
||||
delete old;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user