aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/ContentHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/ContentHandler.cpp')
-rw-r--r--embed/mozilla/ContentHandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index 448c6f8bd..96aa15e7f 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -176,6 +176,7 @@ NS_IMETHODIMP GContentHandler::PromptForSaveToFile(
else
{
gtk_widget_destroy (GTK_WIDGET (dialog));
+ g_free (filename);
return NS_ERROR_FAILURE;
}