aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-07-31 21:41:09 +0800
committerChristian Persch <chpe@src.gnome.org>2004-07-31 21:41:09 +0800
commit13b1482cc77f07235308f418e485e9b32300dc6a (patch)
treecced3238a7b7b1cbe45e118b3380b3b57dab1671 /embed
parentdd79f8051f61ffe8c463b24a4f9e1ff815afd107 (diff)
downloadgsoc2013-epiphany-13b1482cc77f07235308f418e485e9b32300dc6a.tar
gsoc2013-epiphany-13b1482cc77f07235308f418e485e9b32300dc6a.tar.gz
gsoc2013-epiphany-13b1482cc77f07235308f418e485e9b32300dc6a.tar.bz2
gsoc2013-epiphany-13b1482cc77f07235308f418e485e9b32300dc6a.tar.lz
gsoc2013-epiphany-13b1482cc77f07235308f418e485e9b32300dc6a.tar.xz
gsoc2013-epiphany-13b1482cc77f07235308f418e485e9b32300dc6a.tar.zst
gsoc2013-epiphany-13b1482cc77f07235308f418e485e9b32300dc6a.zip
Fix a mem leak.
2004-07-31 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Fix a mem leak.
Diffstat (limited to 'embed')
-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;
}