aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/ephy-session.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 17127ef59..090ceadef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,12 @@
* src/ephy-session.c: (ephy_session_save):
+ hrm misplaced free in last commit
+
+2003-11-20 Marco Pesenti Gritti <marco@gnome.org>
+
+ * src/ephy-session.c: (ephy_session_save):
+
Make xml saving low disk safe.
2003-11-20 Marco Pesenti Gritti <marco@gnome.org>
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 75347d7cf..b1225a45a 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -512,7 +512,6 @@ ephy_session_save (EphySession *session,
/* FIXME: do we want to turn on compression? */
writer = xmlNewTextWriterFilename (tmp_file, 0);
- g_free (tmp_file);
if (writer == NULL)
{
return FALSE;
@@ -565,6 +564,7 @@ out:
}
g_free (save_to);
+ g_free (tmp_file);
STOP_PROFILER ("Saving session")