aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}