summary refs log tree commit diff
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c2
1 files changed, 1 insertions, 1 deletions
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;