use xfree instead of free since strings is allocated with xmalloc; from

dhill

ok oga@
This commit is contained in:
okan 2011-10-12 15:43:50 +00:00
parent ba3dfcf7bd
commit f60f630b81

View File

@ -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;