mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
use xfree instead of free since strings is allocated with xmalloc; from
dhill ok oga@
This commit is contained in:
parent
ba3dfcf7bd
commit
f60f630b81
2
group.c
2
group.c
@ -515,7 +515,7 @@ group_update_names(struct screen_ctx *sc)
|
|||||||
if (prop_ret != NULL)
|
if (prop_ret != NULL)
|
||||||
XFree(prop_ret);
|
XFree(prop_ret);
|
||||||
if (sc->group_nonames != 0)
|
if (sc->group_nonames != 0)
|
||||||
free(sc->group_names);
|
xfree(sc->group_names);
|
||||||
|
|
||||||
sc->group_names = strings;
|
sc->group_names = strings;
|
||||||
sc->group_nonames = n;
|
sc->group_nonames = n;
|
||||||
|
Loading…
Reference in New Issue
Block a user