From feddcd0ff6551ca695897dbc88d91f05a087a3be Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Tue, 6 Jul 2004 18:07:24 +0000 Subject: didn't I said to make that NS_IF_ADDREF () ? mmm, yes * embed/mozilla/MozDownload.cpp: didn't I said to make that NS_IF_ADDREF () ? mmm, yes Fix the downloader crasher. --- embed/mozilla/MozDownload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embed') diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp index 1de028493..4b00d678b 100644 --- a/embed/mozilla/MozDownload.cpp +++ b/embed/mozilla/MozDownload.cpp @@ -254,7 +254,7 @@ NS_IMETHODIMP MozDownload::GetMIMEInfo(nsIMIMEInfo **aMIMEInfo) { NS_ENSURE_ARG_POINTER(aMIMEInfo); - *aMIMEInfo = mMIMEInfo; + NS_IF_ADDREF(*aMIMEInfo = mMIMEInfo); return NS_OK; } -- cgit v1.2.3