Fix leak of content from trees introduced recently. r=hyatt,waterson

This commit is contained in:
dbaron%fas.harvard.edu 2000-07-01 21:45:06 +00:00
Родитель a921110dbd
Коммит da67297134
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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);