ustd: move a free in the error handling path
[ust.git] / ustd / ustd.c
index ce6f7e211ea67acffa4cc45c24c6c1dc5b5ecb07..ac60b3d9199414dd61187a65ec9b874d170a9dae 100644 (file)
@@ -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;
 }
This page took 0.022431 seconds and 4 git commands to generate.