mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-30 10:12:59 +00:00
fixing obvious flaw in Unlink. r:waterson@netscape.com
This commit is contained in:
parent
e3261dc273
commit
b9aa00d5ce
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user