summary refs log tree commit diff
path: root/conf.c
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-02-11 14:20:35 +0000
committerChristian Neukirchen <chneukirchen@gmail.com>2015-02-11 14:20:35 +0000
commit668da8493abd2abb6242a0a707e4d745c01b1031 (patch)
treeb0b0fff6efeecba0deda4a95abff394d5cc360a9 /conf.c
parent81c05b3a51f3c4cf9f0879ab13b62dfcef29708c (diff)
parent7e0c2e77288ce7e056402f9a242f1fde99d15ab2 (diff)
downloadcwm-668da8493abd2abb6242a0a707e4d745c01b1031.tar.gz
cwm-668da8493abd2abb6242a0a707e4d745c01b1031.tar.xz
cwm-668da8493abd2abb6242a0a707e4d745c01b1031.zip
cvsimport
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 0823dfd..5f8f39c 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;