diff options
-rw-r--r-- | embed/mozilla/ContentHandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp index 3535d362c..735e5ef88 100644 --- a/embed/mozilla/ContentHandler.cpp +++ b/embed/mozilla/ContentHandler.cpp @@ -35,6 +35,7 @@ #include <nsStringAPI.h> +#include <nsAutoPtr.h> #include <nsCExternalHandlerService.h> #include <nsComponentManagerUtils.h> #include <nsIDOMWindow.h> @@ -454,6 +455,8 @@ NS_METHOD GContentHandler::MIMEDoAction (void) } #endif /* HAVE_GECKO_1_9 */ + nsRefPtr<GContentHandler> kungFuDeathGrip(this); + if (mAction == CONTENT_ACTION_OPEN) { mLauncher->SaveToDisk (nsnull, PR_FALSE); |