зеркало из https://github.com/mozilla/pjs.git
Typo. Fix bug # 129794: plug leak due to circular ownership. r=dp sr=ben a=roc+moz
This commit is contained in:
Родитель
b0be8e04f7
Коммит
84a17440f6
|
@ -852,7 +852,7 @@ nsWindowMediator::Release()
|
||||||
// We need a special implementation of Release() because our mInner
|
// We need a special implementation of Release() because our mInner
|
||||||
// holds a Circular References back to us.
|
// holds a Circular References back to us.
|
||||||
NS_PRECONDITION(PRInt32(mRefCnt) > 0, "duplicate release");
|
NS_PRECONDITION(PRInt32(mRefCnt) > 0, "duplicate release");
|
||||||
--gRefCnt;
|
--mRefCnt;
|
||||||
NS_LOG_RELEASE(this, mRefCnt, "nsWindowMediator");
|
NS_LOG_RELEASE(this, mRefCnt, "nsWindowMediator");
|
||||||
|
|
||||||
if (mInner && mRefCnt == 1)
|
if (mInner && mRefCnt == 1)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче