mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
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:
parent
0ae87d62d1
commit
b1aef18e54
@ -1106,6 +1106,9 @@ nsNavHistory::ExecuteQueries(nsINavHistoryQuery** aQueries, PRUint32 aQueryCount
|
|||||||
options);
|
options);
|
||||||
NS_ENSURE_TRUE(result, NS_ERROR_OUT_OF_MEMORY);
|
NS_ENSURE_TRUE(result, NS_ERROR_OUT_OF_MEMORY);
|
||||||
|
|
||||||
|
rv = result->Init();
|
||||||
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
|
||||||
rv = nsNavBookmarks::GetBookmarksService()->
|
rv = nsNavBookmarks::GetBookmarksService()->
|
||||||
QueryFolderChildren(aQueries[0], options, result->GetTopLevel());
|
QueryFolderChildren(aQueries[0], options, result->GetTopLevel());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user