aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-01-25 21:54:41 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-25 21:54:41 +0800
commit06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c (patch)
tree3aef5d7864ead65d4039bea4e5c425afac171972
parent8873db168de0809230e68187cd6bd92880a818fb (diff)
downloadgsoc2013-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--ChangeLog6
-rw-r--r--src/ephy-session.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7908f82c0..8a43df645 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;
}