From f60f630b811991d0e21b1339918e2ccdc89c4df0 Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 12 Oct 2011 15:43:50 +0000 Subject: use xfree instead of free since strings is allocated with xmalloc; from dhill ok oga@ --- group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/group.c b/group.c index 4fce08c..24933d9 100644 --- a/group.c +++ b/group.c @@ -515,7 +515,7 @@ group_update_names(struct screen_ctx *sc) if (prop_ret != NULL) XFree(prop_ret); if (sc->group_nonames != 0) - free(sc->group_names); + xfree(sc->group_names); sc->group_names = strings; sc->group_nonames = n; -- cgit 1.4.1