Fix FindRow() to deal with null argument.

This commit is contained in:
smfr%smfr.org 2005-08-10 22:15:30 +00:00
Родитель 08e85c3495
Коммит de81fd6373
1 изменённых файлов: 5 добавлений и 3 удалений

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

@ -2204,8 +2204,10 @@ nsSimpleGlobalHistory::FindRow(mdb_column aCol,
if (!hasRow) return NS_ERROR_NOT_AVAILABLE;
if (aResult) {
*aResult = row;
(*aResult)->AddRef();
}
return NS_OK;
}