diff --git a/conf.c b/conf.c index c1ae8c3..7281346 100644 --- a/conf.c +++ b/conf.c @@ -560,6 +560,8 @@ conf_unbind(struct conf *c, struct keybinding *unbind) key->keysym == unbind->keysym) { conf_ungrab(c, key); TAILQ_REMOVE(&c->keybindingq, key, entry); + if (key->argtype & ARG_CHAR) + free(key->argument.c); free(key); } }