From aa6822fa149e4e3d5b2eadca13c61dff14dc08c0 Mon Sep 17 00:00:00 2001 From: "valeski%netscape.com" Date: Thu, 10 Jun 1999 15:13:37 +0000 Subject: [PATCH] I was continuing through a loop when I wasn't supposed to be git-svn-id: svn://10.0.0.236/trunk@34605 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/netwerk/base/src/nsNetModuleMgr.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mozilla/netwerk/base/src/nsNetModuleMgr.cpp b/mozilla/netwerk/base/src/nsNetModuleMgr.cpp index af1a03c84f7..b7301e6d0b8 100644 --- a/mozilla/netwerk/base/src/nsNetModuleMgr.cpp +++ b/mozilla/netwerk/base/src/nsNetModuleMgr.cpp @@ -104,6 +104,7 @@ nsNetModuleMgr::UnregisterModule(const char *aTopic, nsIEventQueue *aEventQueue, if (same) { NS_RELEASE(curEntry); mEntries->DeleteElementAt(i); + break; } NS_RELEASE(curEntry); // ditch our ref to it }