fix mem leak
This commit is contained in:
parent
af9fea15dd
commit
673383d047
2 changed files with 3 additions and 0 deletions
|
@ -800,6 +800,7 @@ void action_execute(union ActionData *data)
|
|||
g_warning("failed to execute '%s': %s",
|
||||
cmd, e->message);
|
||||
}
|
||||
g_free(cmd);
|
||||
} else {
|
||||
g_warning("failed to convert '%s' from utf8", data->execute.path);
|
||||
}
|
||||
|
|
|
@ -390,6 +390,8 @@ void config_shutdown()
|
|||
|
||||
g_free(config_theme);
|
||||
|
||||
g_free(config_title_layout);
|
||||
|
||||
for (it = config_desktops_names; it; it = g_slist_next(it))
|
||||
g_free(it->data);
|
||||
g_slist_free(config_desktops_names);
|
||||
|
|
Loading…
Reference in a new issue