diff --git a/mozilla/xpcom/threads/nsEventQueue.cpp b/mozilla/xpcom/threads/nsEventQueue.cpp index 502354f103a..41b2d9e5f4b 100644 --- a/mozilla/xpcom/threads/nsEventQueue.cpp +++ b/mozilla/xpcom/threads/nsEventQueue.cpp @@ -291,7 +291,7 @@ nsEventQueueImpl::Unlink() if (old) { old->SetYounger(young); if (!young) - NS_RELEASE(mElderQueue); // release addref from AppendQueue + NS_RELEASE(old); // release addref from AppendQueue } return NS_OK; }