From 0769da3eb365cf3937ae6663be1499e35ed82f8c Mon Sep 17 00:00:00 2001 From: "bent.mozilla%gmail.com" Date: Thu, 10 Apr 2008 17:47:47 +0000 Subject: [PATCH] Bug 426236 - "Customize toolbar dialog leaks multiple dom windows and documents". r=dietrich+sspitzer, a=dsicore. --- toolkit/components/places/src/nsNavHistoryResult.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/toolkit/components/places/src/nsNavHistoryResult.cpp b/toolkit/components/places/src/nsNavHistoryResult.cpp index 65e6fe9ba7d..f98b97f1073 100644 --- a/toolkit/components/places/src/nsNavHistoryResult.cpp +++ b/toolkit/components/places/src/nsNavHistoryResult.cpp @@ -3593,10 +3593,12 @@ NS_IMPL_CYCLE_COLLECTION_CLASS(nsNavHistoryResult) NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(nsNavHistoryResult) NS_IMPL_CYCLE_COLLECTION_UNLINK_NSCOMPTR(mRootNode) + NS_IMPL_CYCLE_COLLECTION_UNLINK_NSCOMPTR(mView) NS_IMPL_CYCLE_COLLECTION_UNLINK_END NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsNavHistoryResult) NS_IMPL_CYCLE_COLLECTION_TRAVERSE_NSCOMPTR_AMBIGUOUS(mRootNode, nsINavHistoryContainerResultNode) + NS_IMPL_CYCLE_COLLECTION_TRAVERSE_NSCOMPTR(mView) NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END NS_IMPL_CYCLE_COLLECTING_ADDREF(nsNavHistoryResult)