Bug 507219 - Crash in nsNavHistoryResult::OnVisit, r=dietrich

This commit is contained in:
Marco Bonardo 2009-07-29 23:50:25 +02:00
parent bce220d64b
commit 31328871b8

View File

@ -3838,6 +3838,7 @@ RemoveBookmarkFolderObserversCallback(nsTrimInt64HashKey::KeyType aKey,
}
NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(nsNavHistoryResult)
tmp->StopObserving();
NS_IMPL_CYCLE_COLLECTION_UNLINK_NSCOMPTR(mRootNode)
NS_IMPL_CYCLE_COLLECTION_UNLINK_NSCOMPTR(mView)
tmp->mBookmarkFolderObservers.Enumerate(&RemoveBookmarkFolderObserversCallback, nsnull);