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:
parent
de03bfa02c
commit
66cdc0eb4a
@ -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());
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user