summary refs log tree commit diff
path: root/conf.c
diff options
context:
space:
mode:
authorokan <okan>2015-01-24 18:16:59 +0000
committerokan <okan>2015-01-24 18:16:59 +0000
commit7e0c2e77288ce7e056402f9a242f1fde99d15ab2 (patch)
tree305ba2793065444c37edcbd74ad426b4be8608ed /conf.c
parentd8fa58bb6256d5a499d7cd957b95b5b052cf16a2 (diff)
downloadcwm-7e0c2e77288ce7e056402f9a242f1fde99d15ab2.tar.gz
cwm-7e0c2e77288ce7e056402f9a242f1fde99d15ab2.tar.xz
cwm-7e0c2e77288ce7e056402f9a242f1fde99d15ab2.zip
calloc -> malloc
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;