X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Faction.c;h=e6f6a9320acc069672e57b5e1971f812653f0cc8;hb=5038e82085528962ab6561e75f70ac6c70a29910;hp=ef588910479b6b4bd4cc17efce3f5000cac2ffcf;hpb=2880e674eaa66b2d5639157e4506b404e2b183ad;p=chaz%2Fopenbox 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);