From 60b00e6452f9beb0886661d12140e613c2770b0a Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 20 Nov 2003 18:05:15 +0000 Subject: hrm misplaced free in last commit 2003-11-20 Marco Pesenti Gritti * src/ephy-session.c: (ephy_session_save): hrm misplaced free in last commit --- ChangeLog | 6 ++++++ src/ephy-session.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 17127ef59..090ceadef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-11-20 Marco Pesenti Gritti + + * src/ephy-session.c: (ephy_session_save): + + hrm misplaced free in last commit + 2003-11-20 Marco Pesenti Gritti * src/ephy-session.c: (ephy_session_save): 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") -- cgit v1.2.3