From 9f0cd484e5a3442ee1ebb8daaf187bab87cb272f Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Mon, 18 Sep 2006 21:56:18 +0000 Subject: [PATCH] Add missing free. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4365 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/session.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/session.c b/src/core/session.c index b2e61a67..f8d70d3b 100644 --- a/src/core/session.c +++ b/src/core/session.c @@ -107,6 +107,7 @@ static void cmd_upgrade(const char *data) /UPGRADE /usr/bin/screen irssi */ str = g_strdup_printf("%s --noconnect --session=%s --home=%s --config=%s", data, session_file, get_irssi_dir(), get_irssi_config()); + g_free(session_file); session_args = g_strsplit(str, " ", -1); g_free(str);