From 7e0c2e77288ce7e056402f9a242f1fde99d15ab2 Mon Sep 17 00:00:00 2001 From: okan Date: Sat, 24 Jan 2015 18:16:59 +0000 Subject: calloc -> malloc --- conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index 1c75285..9d3918d 100644 --- a/conf.c +++ b/conf.c @@ -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; -- cgit 1.4.1