diff options
Diffstat (limited to 'openbox')
| -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); |
