зеркало из https://github.com/mozilla/pjs.git
Fix leak by removing extra AddRef. b=251530 r=cbiesinger sr=bzbarsky
This commit is contained in:
Родитель
4d29b4c46d
Коммит
868ce89fb6
|
@ -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"));
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче