diff --git a/conf.c b/conf.c index 8eec4a3..1c75285 100644 --- a/conf.c +++ b/conf.c @@ -96,7 +96,7 @@ conf_ignore(struct conf *c, const char *name) { struct winname *wn; - wn = xcalloc(1, sizeof(*wn)); + wn = xmalloc(sizeof(*wn)); wn->name = xstrdup(name); TAILQ_INSERT_TAIL(&c->ignoreq, wn, entry); }