diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-26 03:36:39 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-26 03:36:39 +0000 |
| commit | 5038e82085528962ab6561e75f70ac6c70a29910 (patch) | |
| tree | eadc0a57bf3f0d56aae53865e0bd419e29263273 | |
| parent | 2880e674eaa66b2d5639157e4506b404e2b183ad (diff) | |
free the string for action_restart too
| -rw-r--r-- | openbox/action.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/action.c b/openbox/action.c index ef588910..e6f6a932 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -23,7 +23,7 @@ Action *action_new(void (*func)(union ActionData *data)) void action_free(Action *a) { /* deal with pointers */ - if (a->func == action_execute) + if (a->func == action_execute || a->func == action_restart) g_free(a->data.execute.path); g_free(a); |
