diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-03 03:47:50 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-03 03:47:50 +0000 |
| commit | 9d1949f0b168650e38dcb9adf1ad93e8b90a9b44 (patch) | |
| tree | 6aaec74d33a948eccf6e6e4079dbfc51ba50555e /openbox/session.c | |
| parent | 831deb72c6adda56e737a5951483888795e97919 (diff) | |
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
Diffstat (limited to 'openbox/session.c')
| -rw-r--r-- | openbox/session.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |
