Fix crash when attempting to show last visit date of a folder (result not was not being initialized)

git-svn-id: svn://10.0.0.236/trunk@185429 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%brianryner.com 2005-11-30 07:35:28 +00:00
parent de03bfa02c
commit 66cdc0eb4a

View File

@ -1106,6 +1106,9 @@ nsNavHistory::ExecuteQueries(nsINavHistoryQuery** aQueries, PRUint32 aQueryCount
options);
NS_ENSURE_TRUE(result, NS_ERROR_OUT_OF_MEMORY);
rv = result->Init();
NS_ENSURE_SUCCESS(rv, rv);
rv = nsNavBookmarks::GetBookmarksService()->
QueryFolderChildren(aQueries[0], options, result->GetTopLevel());