fixing obvious flaw in Unlink. r:waterson@netscape.com
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user