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:
06f27af
)
free unused paths
author
Dana Jansens
<danakj@orodu.net>
Wed, 26 Mar 2003 13:28:50 +0000
(13:28 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 26 Mar 2003 13:28:50 +0000
(13:28 +0000)
plugins/keyboard/keysrc.yacc
patch
|
blob
|
history
diff --git
a/plugins/keyboard/keysrc.yacc
b/plugins/keyboard/keysrc.yacc
index 3546d0978c2748d14435214e911ba1624a3dd909..d779da838464daec914ee6caf555d71c15ccbc90 100644
(file)
--- a/
plugins/keyboard/keysrc.yacc
+++ b/
plugins/keyboard/keysrc.yacc
@@
-86,6
+86,8
@@
static void addbinding(GList *keylist, char *action, char *apath, int num)
/* these have extra data! */
if (a->func == action_execute || a->func == action_restart)
a->data.execute.path = apath;
+ else
+ g_free(apath);
if (a->func == action_desktop)
a->data.desktop.desk = (unsigned) num + 1;
if (a->func == action_move_relative_horz ||