diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-11-21 02:05:15 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-11-21 02:05:15 +0800 |
commit | 60b00e6452f9beb0886661d12140e613c2770b0a (patch) | |
tree | ade5f306f74bd3c2c95c1d6dca52ec56b88b0e6f | |
parent | 973e5dccd2e75bb58c5e532f137b6c7f1391eb5e (diff) | |
download | gsoc2013-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-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/ephy-session.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -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") |