aboutsummaryrefslogtreecommitdiffstats
path: root/src/session.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-06-15 19:35:13 +0800
committerChristian Persch <chpe@src.gnome.org>2003-06-15 19:35:13 +0800
commitfa31654eac12411d58ab603924953410c53e1426 (patch)
tree1de3cfad3f21d1d90d46496288caa587c61792b8 /src/session.c
parent70c9516fd0741ecd185196f33dcd9c7ad63d69fb (diff)
downloadgsoc2013-epiphany-fa31654eac12411d58ab603924953410c53e1426.tar
gsoc2013-epiphany-fa31654eac12411d58ab603924953410c53e1426.tar.gz
gsoc2013-epiphany-fa31654eac12411d58ab603924953410c53e1426.tar.bz2
gsoc2013-epiphany-fa31654eac12411d58ab603924953410c53e1426.tar.lz
gsoc2013-epiphany-fa31654eac12411d58ab603924953410c53e1426.tar.xz
gsoc2013-epiphany-fa31654eac12411d58ab603924953410c53e1426.tar.zst
gsoc2013-epiphany-fa31654eac12411d58ab603924953410c53e1426.zip
Fix mem leaks.
2003-06-15 Christian Persch <chpe@cvs.gnome.org> * src/session.c: (do_session_resume): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download), (ephy_favicon_cache_get): Fix mem leaks.
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/session.c b/src/session.c
index b6a332d3d..751fdd186 100644
--- a/src/session.c
+++ b/src/session.c
@@ -173,10 +173,11 @@ get_session_filename (const char *filename)
static void
do_session_resume (Session *session)
{
- const char *crashed_session;
+ char *crashed_session;
crashed_session = get_session_filename (SESSION_CRASHED);
session_load (session, crashed_session);
+ g_free (crashed_session);
}
static void