aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozDownload.cpp
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2004-07-07 02:07:24 +0800
committerXan Lopez <xan@src.gnome.org>2004-07-07 02:07:24 +0800
commitfeddcd0ff6551ca695897dbc88d91f05a087a3be (patch)
tree9e4a0d46aa7c9e4b589ed868cca808f2195f60b1 /embed/mozilla/MozDownload.cpp
parent82bf3117e9196f51b5c8d1c51636dad443fdb386 (diff)
downloadgsoc2013-epiphany-feddcd0ff6551ca695897dbc88d91f05a087a3be.tar
gsoc2013-epiphany-feddcd0ff6551ca695897dbc88d91f05a087a3be.tar.gz
gsoc2013-epiphany-feddcd0ff6551ca695897dbc88d91f05a087a3be.tar.bz2
gsoc2013-epiphany-feddcd0ff6551ca695897dbc88d91f05a087a3be.tar.lz
gsoc2013-epiphany-feddcd0ff6551ca695897dbc88d91f05a087a3be.tar.xz
gsoc2013-epiphany-feddcd0ff6551ca695897dbc88d91f05a087a3be.tar.zst
gsoc2013-epiphany-feddcd0ff6551ca695897dbc88d91f05a087a3be.zip
<chpe> didn't I said to make that NS_IF_ADDREF () ? <xan> mmm, yes
* embed/mozilla/MozDownload.cpp: <chpe> didn't I said to make that NS_IF_ADDREF () ? <xan> mmm, yes Fix the downloader crasher.
Diffstat (limited to 'embed/mozilla/MozDownload.cpp')
-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;
}