aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-session.c')
-rw-r--r--src/ephy-session.c2
1 files changed, 1 insertions, 1 deletions
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")