summaryrefslogtreecommitdiff
path: root/plugins/keyboard
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-26 13:28:50 +0000
committerDana Jansens <danakj@orodu.net>2003-03-26 13:28:50 +0000
commit1fb5c4b595677a029c75b75ef85a69ec90160da8 (patch)
treea311f15aeed0260bfdaf6f32fc4a11db04874fb8 /plugins/keyboard
parent06f27af0a994a6f92d1c3a9306f46a73e6162bb8 (diff)
free unused paths
Diffstat (limited to 'plugins/keyboard')
-rw-r--r--plugins/keyboard/keysrc.yacc2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/keyboard/keysrc.yacc b/plugins/keyboard/keysrc.yacc
index 3546d097..d779da83 100644
--- 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 ||