mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
replace xfree with free
This commit is contained in:
parent
1fad01ad39
commit
012bd7c7c0
4
conf.c
4
conf.c
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user