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 e3261dc273
commit b9aa00d5ce

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