From: Pierre-Marc Fournier Date: Wed, 17 Mar 2010 03:30:29 +0000 (-0400) Subject: ustd: move a free in the error handling path X-Git-Tag: v1.9.1~637 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8c017ed33e7d9a0f6e678e7f70922d1dddf413fc;p=lttng-ust.git ustd: move a free in the error handling path --- diff --git a/ustd/ustd.c b/ustd/ustd.c index ce6f7e21..ac60b3d9 100644 --- a/ustd/ustd.c +++ b/ustd/ustd.c @@ -584,10 +584,10 @@ void *consumer_thread(void *arg) consumer_loop(buf); - free((void *)args->bufname); destroy_buffer(buf); end: + free((void *)args->bufname); free(args); return NULL; }