mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
calloc -> malloc
This commit is contained in:
parent
d8fa58bb62
commit
7e0c2e7728
2
conf.c
2
conf.c
@ -76,7 +76,7 @@ conf_autogroup(struct conf *c, int num, const char *val)
|
|||||||
struct autogroupwin *aw;
|
struct autogroupwin *aw;
|
||||||
char *p;
|
char *p;
|
||||||
|
|
||||||
aw = xcalloc(1, sizeof(*aw));
|
aw = xmalloc(sizeof(*aw));
|
||||||
|
|
||||||
if ((p = strchr(val, ',')) == NULL) {
|
if ((p = strchr(val, ',')) == NULL) {
|
||||||
aw->name = NULL;
|
aw->name = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user