projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2880e67
)
free the string for action_restart too
author
Dana Jansens
<danakj@orodu.net>
Wed, 26 Mar 2003 03:36:39 +0000
(
03:36
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 26 Mar 2003 03:36:39 +0000
(
03:36
+0000)
openbox/action.c
patch
|
blob
|
history
diff --git
a/openbox/action.c
b/openbox/action.c
index ef588910479b6b4bd4cc17efce3f5000cac2ffcf..e6f6a9320acc069672e57b5e1971f812653f0cc8 100644
(file)
--- 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);