fix mem leak

This commit is contained in:
Dana Jansens 2003-09-14 20:56:48 +00:00
parent af9fea15dd
commit 673383d047
2 changed files with 3 additions and 0 deletions

View file

@ -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);
}

View file

@ -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);