fix mem leak
Dana Jansens danakj@orodu.net
2 files changed,
3 insertions(+),
0 deletions(-)
M
openbox/action.c
→
openbox/action.c
@@ -800,6 +800,7 @@ if (!g_spawn_command_line_async(cmd, &e)) {
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); }
M
openbox/config.c
→
openbox/config.c
@@ -390,6 +390,8 @@ GSList *it;
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);