From 79ea35270eb9fd5d30dd41a3b5b0a346431983f4 Mon Sep 17 00:00:00 2001 From: "dp%netscape.com" Date: Tue, 9 Feb 1999 21:21:30 +0000 Subject: [PATCH] Removing wrong delete. git-svn-id: svn://10.0.0.236/trunk@20171 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/components/nsRepository.cpp | 2 -- mozilla/xpcom/src/nsRepository.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/mozilla/xpcom/components/nsRepository.cpp b/mozilla/xpcom/components/nsRepository.cpp index e29a18375c5..7bffda2cb4f 100644 --- a/mozilla/xpcom/components/nsRepository.cpp +++ b/mozilla/xpcom/components/nsRepository.cpp @@ -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; } } diff --git a/mozilla/xpcom/src/nsRepository.cpp b/mozilla/xpcom/src/nsRepository.cpp index e29a18375c5..7bffda2cb4f 100644 --- a/mozilla/xpcom/src/nsRepository.cpp +++ b/mozilla/xpcom/src/nsRepository.cpp @@ -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; } }