зеркало из https://github.com/mozilla/pjs.git
fixing obvious flaw in Unlink. r:waterson@netscape.com
This commit is contained in:
Родитель
dc4bcc882c
Коммит
c26d0a076e
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче