From: Dana Jansens Date: Sat, 3 Mar 2007 03:47:50 +0000 (+0000) Subject: if sm is disabled, there is nothing to shutdown, so don't go trying to free things... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=9d1949f0b168650e38dcb9adf1ad93e8b90a9b44;p=chaz%2Fopenbox 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 --- 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);