aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-01-25 21:54:41 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-25 21:54:41 +0800
commit06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c (patch)
tree3aef5d7864ead65d4039bea4e5c425afac171972 /src
parent8873db168de0809230e68187cd6bd92880a818fb (diff)
downloadgsoc2013-epiphany-06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c.tar
gsoc2013-epiphany-06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c.tar.gz
gsoc2013-epiphany-06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c.tar.bz2
gsoc2013-epiphany-06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c.tar.lz
gsoc2013-epiphany-06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c.tar.xz
gsoc2013-epiphany-06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c.tar.zst
gsoc2013-epiphany-06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c.zip
Fix mem leaks.
2004-01-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (ephy_session_save): Fix mem leaks.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-session.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 3439357e9..a31d91302 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -516,6 +516,9 @@ ephy_session_save (EphySession *session,
writer = xmlNewTextWriterFilename (tmp_file, 0);
if (writer == NULL)
{
+ g_free (save_to);
+ g_free (tmp_file);
+
return FALSE;
}