X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=ustd%2Fustd.c;h=ac60b3d9199414dd61187a65ec9b874d170a9dae;hb=6c42ce2c7f9c9f2c91170e87029c9c2702a76c6e;hp=ce6f7e211ea67acffa4cc45c24c6c1dc5b5ecb07;hpb=f05eefd81e6ddc4911529b2c3a754aa68e713ca7;p=ust.git diff --git a/ustd/ustd.c b/ustd/ustd.c index ce6f7e2..ac60b3d 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; }