Bug 180583 nsTreeBodyFrame::GetImage doesn't null check loader

r=varga sr=bz
This commit is contained in:
timeless%mozdev.org 2002-11-17 20:11:08 +00:00
Родитель 2a93582ae6
Коммит 8dd102cd4e
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -1858,6 +1858,8 @@ nsTreeBodyFrame::GetImage(PRInt32 aRowIndex, const PRUnichar* aColID, PRBool aUs
nsresult rv;
nsCOMPtr<imgILoader> il(do_GetService("@mozilla.org/image/loader;1", &rv));
if (NS_FAILED(rv))
return rv;
// Get the documment URI for the referrer.
nsCOMPtr<nsIURI> documentURI;