diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-07-31 21:41:09 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-07-31 21:41:09 +0800 |
commit | 13b1482cc77f07235308f418e485e9b32300dc6a (patch) | |
tree | cced3238a7b7b1cbe45e118b3380b3b57dab1671 | |
parent | dd79f8051f61ffe8c463b24a4f9e1ff815afd107 (diff) | |
download | gsoc2013-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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/mozilla/ContentHandler.cpp | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -2,6 +2,12 @@ * embed/mozilla/ContentHandler.cpp: + Fix a mem leak. + +2004-07-31 Christian Persch <chpe@cvs.gnome.org> + + * embed/mozilla/ContentHandler.cpp: + Confirm before overwriting a file. Fixes bug #143501. 2004-07-31 Christian Persch <chpe@cvs.gnome.org> 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; } |