From 9d1949f0b168650e38dcb9adf1ad93e8b90a9b44 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 3 Mar 2007 03:47:50 +0000 Subject: [PATCH] if sm is disabled, there is nothing to shutdown, so don't go trying to free things and stuff. that can only be a bug --- openbox/session.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openbox/session.c b/openbox/session.c index fa9ce484..0ba1b328 100644 --- a/openbox/session.c +++ b/openbox/session.c @@ -259,6 +259,9 @@ void session_startup(gint argc, gchar **argv) void session_shutdown() { + if (sm_disable) + return; + g_free(sm_sessions_path); g_free(save_file); g_free(sm_id); -- 2.44.0