diff options
author | oga <oga> | 2008-04-16 13:38:09 +0000 |
---|---|---|
committer | oga <oga> | 2008-04-16 13:38:09 +0000 |
commit | f473dc3d12f4a1237fa020bff58fd44c3c6489de (patch) | |
tree | 7584efc245cd1a99b292a7fe07f3dbcf60eab7fc /group.c | |
parent | f67772be650718b2e408a26ef08e1946a0abf1ab (diff) | |
download | cwm-f473dc3d12f4a1237fa020bff58fd44c3c6489de.tar.gz cwm-f473dc3d12f4a1237fa020bff58fd44c3c6489de.tar.xz cwm-f473dc3d12f4a1237fa020bff58fd44c3c6489de.zip |
Replace a few leftover calls to strdup and calloc with xstrdup and xcalloc
respectively. ok okan.
Diffstat (limited to 'group.c')
-rw-r--r-- | group.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |