diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/session.c | 3 |
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 |