aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-11-21 02:05:15 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-11-21 02:05:15 +0800
commit60b00e6452f9beb0886661d12140e613c2770b0a (patch)
treeade5f306f74bd3c2c95c1d6dca52ec56b88b0e6f
parent973e5dccd2e75bb58c5e532f137b6c7f1391eb5e (diff)
downloadgsoc2013-epiphany-60b00e6452f9beb0886661d12140e613c2770b0a.tar
gsoc2013-epiphany-60b00e6452f9beb0886661d12140e613c2770b0a.tar.gz
gsoc2013-epiphany-60b00e6452f9beb0886661d12140e613c2770b0a.tar.bz2
gsoc2013-epiphany-60b00e6452f9beb0886661d12140e613c2770b0a.tar.lz
gsoc2013-epiphany-60b00e6452f9beb0886661d12140e613c2770b0a.tar.xz
gsoc2013-epiphany-60b00e6452f9beb0886661d12140e613c2770b0a.tar.zst
gsoc2013-epiphany-60b00e6452f9beb0886661d12140e613c2770b0a.zip
hrm misplaced free in last commit
2003-11-20 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-session.c: (ephy_session_save): hrm misplaced free in last commit
-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")