зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
21d6e3903c
Коммит
b72ce43809
|
@ -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());
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче