fixing obvious flaw in Unlink. r:waterson@netscape.com

This commit is contained in:
danm@netscape.com
1999-10-20 08:35:04 +00:00
parent b96cc7f3fb
commit 41a551b63a

View File

@@ -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;
}