Fix leak by removing extra AddRef. b=251530 r=cbiesinger sr=bzbarsky

This commit is contained in:
dbaron%dbaron.org 2004-07-15 19:57:18 +00:00
Родитель 4d29b4c46d
Коммит 868ce89fb6
1 изменённых файлов: 0 добавлений и 2 удалений

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

@ -1486,8 +1486,6 @@ nsDirectoryViewerFactory::CreateInstance(const char *aCommand,
if (NS_FAILED(rv)) return rv;
NS_ADDREF(*aDocListenerResult);
// ... and set the original channel's content type up
(void)aChannel->SetContentType(NS_LITERAL_CSTRING("text/html"));