From: Pierre-Marc Fournier Date: Tue, 9 Mar 2010 05:27:39 +0000 (-0500) Subject: fix warning X-Git-Tag: v1.9.1~652 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7fc9284baa5c9fafbd23120b1ac064b402349fbc;p=lttng-ust.git fix warning --- diff --git a/ustd/ustd.c b/ustd/ustd.c index 046ac0c0..95dbdcae 100644 --- a/ustd/ustd.c +++ b/ustd/ustd.c @@ -559,11 +559,10 @@ void *consumer_thread(void *arg) consumer_loop(buf); - free(args->bufname); + free((void *)args->bufname); destroy_buffer(buf); end: - /* bufname is free'd in free_buffer() */ free(args); return NULL; }