From: Michael Stapelberg Date: Sun, 2 Sep 2012 22:41:51 +0000 (+0200) Subject: bugfix: memleak: use i3STRING_FREE() instead of FREE() X-Git-Tag: 4.3~49 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f18ab28f5ca7428d112d25d839b63a3bc4762d14;p=i3%2Fi3 bugfix: memleak: use i3STRING_FREE() instead of FREE() --- 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);