diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-14 20:56:48 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-14 20:56:48 +0000 |
| commit | 673383d04702990cd79d7ceb98507cef70f818ec (patch) | |
| tree | 294d51473239bc7e64b479e73be6e836daf3747a | |
| parent | af9fea15dd06ddfb641f92fd330e7126050fc02c (diff) | |
fix mem leak
| -rw-r--r-- | openbox/action.c | 1 | ||||
| -rw-r--r-- | openbox/config.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/openbox/action.c b/openbox/action.c index 51de17da..0a969a86 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -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); } diff --git a/openbox/config.c b/openbox/config.c index 42a9433d..c840f83e 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -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); |
