зеркало из https://github.com/mozilla/gecko-dev.git
Fix leak of content from trees introduced recently. r=hyatt,waterson
This commit is contained in:
Родитель
a921110dbd
Коммит
da67297134
|
@ -115,6 +115,7 @@ nsXULTreeElement::~nsXULTreeElement()
|
|||
#endif
|
||||
|
||||
NS_IF_RELEASE(mSelectedItems);
|
||||
NS_IF_RELEASE(mCurrentItem);
|
||||
|
||||
if (--gRefCnt == 0) {
|
||||
NS_IF_RELEASE(kSelectedAtom);
|
||||
|
|
|
@ -115,6 +115,7 @@ nsXULTreeElement::~nsXULTreeElement()
|
|||
#endif
|
||||
|
||||
NS_IF_RELEASE(mSelectedItems);
|
||||
NS_IF_RELEASE(mCurrentItem);
|
||||
|
||||
if (--gRefCnt == 0) {
|
||||
NS_IF_RELEASE(kSelectedAtom);
|
||||
|
|
Загрузка…
Ссылка в новой задаче