add memleak fix from commit ccbb1f15

This commit is contained in:
Michael Weber 2013-05-08 10:53:04 +02:00
parent 0671d579b7
commit 6a2c8bf962

2
conf.c
View File

@ -560,6 +560,8 @@ conf_unbind(struct conf *c, struct keybinding *unbind)
key->keysym == unbind->keysym) { key->keysym == unbind->keysym) {
conf_ungrab(c, key); conf_ungrab(c, key);
TAILQ_REMOVE(&c->keybindingq, key, entry); TAILQ_REMOVE(&c->keybindingq, key, entry);
if (key->argtype & ARG_CHAR)
free(key->argument.c);
free(key); free(key);
} }
} }