mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Replace a few leftover calls to strdup and calloc with xstrdup and xcalloc
respectively. ok okan.
This commit is contained in:
2
group.c
2
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
|
||||
|
Reference in New Issue
Block a user