From f473dc3d12f4a1237fa020bff58fd44c3c6489de Mon Sep 17 00:00:00 2001 From: oga Date: Wed, 16 Apr 2008 13:38:09 +0000 Subject: Replace a few leftover calls to strdup and calloc with xstrdup and xcalloc respectively. ok okan. --- group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'group.c') diff --git a/group.c b/group.c index 59aec57..9f01b7e 100644 --- a/group.c +++ b/group.c @@ -85,7 +85,7 @@ _group_show(struct group_ctx *gc) u_int i; int lastempty = -1; - winlist = (Window *) xcalloc(sizeof(*winlist) * (gc->highstack + 1)); + winlist = (Window *) xcalloc(sizeof(*winlist), (gc->highstack + 1)); /* * Invert the stacking order as XRestackWindows() expects them -- cgit 1.4.1