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

Original committer: bryner%brianryner.com
Original revision: 1.23
Original date: 2005/11/30 07:35:28
This commit is contained in:
benjamin%smedbergs.us 2006-07-18 16:06:21 +00:00
Родитель 21d6e3903c
Коммит b72ce43809
1 изменённых файлов: 3 добавлений и 0 удалений

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

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