diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-01-25 21:54:41 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-01-25 21:54:41 +0800 |
commit | 06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c (patch) | |
tree | 3aef5d7864ead65d4039bea4e5c425afac171972 | |
parent | 8873db168de0809230e68187cd6bd92880a818fb (diff) | |
download | gsoc2013-epiphany-06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c.tar gsoc2013-epiphany-06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c.tar.gz gsoc2013-epiphany-06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c.tar.bz2 gsoc2013-epiphany-06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c.tar.lz gsoc2013-epiphany-06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c.tar.xz gsoc2013-epiphany-06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c.tar.zst gsoc2013-epiphany-06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c.zip |
Fix mem leaks.
2004-01-25 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-session.c: (ephy_session_save):
Fix mem leaks.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/ephy-session.c | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2004-01-25 Christian Persch <chpe@cvs.gnome.org> + * src/ephy-session.c: (ephy_session_save): + + Fix mem leaks. + +2004-01-25 Christian Persch <chpe@cvs.gnome.org> + * lib/ephy-stock-icons.c: (ephy_stock_icons_init): Fix mem leaks. diff --git a/src/ephy-session.c b/src/ephy-session.c index 3439357e9..a31d91302 100644 --- a/src/ephy-session.c +++ b/src/ephy-session.c @@ -516,6 +516,9 @@ ephy_session_save (EphySession *session, writer = xmlNewTextWriterFilename (tmp_file, 0); if (writer == NULL) { + g_free (save_to); + g_free (tmp_file); + return FALSE; } |