aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--embed/mozilla/ContentHandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index 735e5ef88..276223137 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -85,6 +85,8 @@ GContentHandler::Show (nsIHelperAppLauncher *aLauncher,
nsISupports *aContext,
PRUint32 aReason)
{
+ nsRefPtr<GContentHandler> kungFuDeathGrip(this);
+
nsresult rv;
EphyEmbedSingle *single;
gboolean handled = FALSE;