]> Dogcows Code - chaz/openbox/commitdiff
if sm is disabled, there is nothing to shutdown, so don't go trying to free things...
authorDana Jansens <danakj@orodu.net>
Sat, 3 Mar 2007 03:47:50 +0000 (03:47 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 3 Mar 2007 03:47:50 +0000 (03:47 +0000)
openbox/session.c

index fa9ce48459ca6afa68fc8f9c9ad545c9d238aade..0ba1b3282d427b63625ad03226a013555374dca5 100644 (file)
@@ -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);
This page took 0.023046 seconds and 4 git commands to generate.