From f18ab28f5ca7428d112d25d839b63a3bc4762d14 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 3 Sep 2012 00:41:51 +0200 Subject: [PATCH] bugfix: memleak: use i3STRING_FREE() instead of FREE() --- i3bar/src/child.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3bar/src/child.c b/i3bar/src/child.c index 4f7a8707..058ddb7a 100644 --- a/i3bar/src/child.c +++ b/i3bar/src/child.c @@ -80,7 +80,7 @@ static int stdin_start_array(void *context) { struct status_block *first; while (!TAILQ_EMPTY(&statusline_head)) { first = TAILQ_FIRST(&statusline_head); - FREE(first->full_text); + I3STRING_FREE(first->full_text); FREE(first->color); TAILQ_REMOVE(&statusline_head, first, blocks); free(first); -- 2.39.5