From: Dana Jansens Date: Wed, 26 Mar 2003 03:36:39 +0000 (+0000) Subject: free the string for action_restart too X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5038e82085528962ab6561e75f70ac6c70a29910;p=chaz%2Fopenbox free the string for action_restart too --- 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);