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
This commit is contained in:
parent
831deb72c6
commit
9d1949f0b1
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue