From 1e06bc04e3baf069dffbfc51a74eaf46e4f8a021 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/group.c b/group.c index 1c2f292..a38a005 100644 --- a/group.c +++ b/group.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: group.c,v 1.53 2011/09/19 07:23:03 okan Exp $ + * $OpenBSD: group.c,v 1.54 2011/10/12 15:43:50 okan Exp $ */ #include @@ -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 v1.2.3-2-gb3c3