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 }