From cc71c773295bb6910fefc9e2c66f980ee3eb1b38 Mon Sep 17 00:00:00 2001 From: Axel Wagner Date: Wed, 26 Jan 2011 01:24:54 +0100 Subject: [PATCH] Bugfix: free() command-string, after it is not needed anymore --- i3bar/src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/i3bar/src/main.c b/i3bar/src/main.c index 9c2a3181..41b0ea7b 100644 --- a/i3bar/src/main.c +++ b/i3bar/src/main.c @@ -227,6 +227,7 @@ int main(int argc, char **argv) { /* The name of this function is actually misleading. Even if no -c is specified, * this function initiates the watchers to listen on stdin and react accordingly */ start_child(command); + FREE(command); /* We listen to SIGTERM/QUIT/INT and try to exit cleanly, by stopping the main-loop. * We only need those watchers on the stack, so putting them on the stack saves us