summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2011-10-12 15:43:50 +0000
committerokan <okan>2011-10-12 15:43:50 +0000
commitf60f630b811991d0e21b1339918e2ccdc89c4df0 (patch)
tree356c23bf495ff6f2a777d1ba48b50f8e296cf422
parentba3dfcf7bdd993e2a2bed8e55a3ea904f67e234f (diff)
downloadcwm-f60f630b811991d0e21b1339918e2ccdc89c4df0.tar.gz
cwm-f60f630b811991d0e21b1339918e2ccdc89c4df0.tar.xz
cwm-f60f630b811991d0e21b1339918e2ccdc89c4df0.zip
use xfree instead of free since strings is allocated with xmalloc; from
dhill

ok oga@
-rw-r--r--group.c2
1 files changed, 1 insertions, 1 deletions
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;