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
Dana Jansens danakj@orodu.net
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
openbox/session.c
→
openbox/session.c
@@ -259,6 +259,9 @@ }
void session_shutdown() { + if (sm_disable) + return; + g_free(sm_sessions_path); g_free(save_file); g_free(sm_id);