use malloc over calloc here

This commit is contained in:
okan 2015-01-23 20:26:36 +00:00
parent 5146f661bd
commit d8fa58bb62

2
conf.c
View File

@ -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);
}