aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/MozDownload.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}