From 5038e82085528962ab6561e75f70ac6c70a29910 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 26 Mar 2003 03:36:39 +0000 Subject: [PATCH] free the string for action_restart too --- openbox/action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.45.2