calloc -> malloc

This commit is contained in:
okan 2015-01-24 18:16:59 +00:00
parent d8fa58bb62
commit 7e0c2e7728

2
conf.c
View File

@ -76,7 +76,7 @@ conf_autogroup(struct conf *c, int num, const char *val)
struct autogroupwin *aw;
char *p;
aw = xcalloc(1, sizeof(*aw));
aw = xmalloc(sizeof(*aw));
if ((p = strchr(val, ',')) == NULL) {
aw->name = NULL;