]> git.sur5r.net Git - i3/i3/commitdiff
bugfix: memleak: use i3STRING_FREE() instead of FREE()
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 2 Sep 2012 22:41:51 +0000 (00:41 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 2 Sep 2012 22:42:17 +0000 (00:42 +0200)
i3bar/src/child.c

index 4f7a870730d0cbb46757061b0b79fb5248ed0145..058ddb7a1f31c0518b20ae4afc6e38a6c65db85b 100644 (file)
@@ -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);