replace xfree with free

This commit is contained in:
Michael Weber 2012-11-29 23:31:21 +01:00
parent 1fad01ad39
commit 012bd7c7c0

4
conf.c
View File

@ -226,8 +226,8 @@ conf_clear(struct conf *c)
while ((as = TAILQ_FIRST(&c->autostartq)) != NULL) { while ((as = TAILQ_FIRST(&c->autostartq)) != NULL) {
TAILQ_REMOVE(&c->autostartq, as, entry); TAILQ_REMOVE(&c->autostartq, as, entry);
xfree(as->cmd); free(as->cmd);
xfree(as); free(as);
} }
while ((wm = TAILQ_FIRST(&c->ignoreq)) != NULL) { while ((wm = TAILQ_FIRST(&c->ignoreq)) != NULL) {