X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fthread.c;h=c685442ba036e55ec24c413375d5409e50f56daf;hp=6eb5e8efb3124f67b7f1315c788162eaa67f31dd;hb=19d3c73e4f87bd29d77b53e145af175cef7761bb;hpb=21fa020ee12d44632c5efde063869d542897bdd1 diff --git a/src/bin/lttng-sessiond/thread.c b/src/bin/lttng-sessiond/thread.c index 6eb5e8efb..c685442ba 100644 --- a/src/bin/lttng-sessiond/thread.c +++ b/src/bin/lttng-sessiond/thread.c @@ -169,6 +169,7 @@ bool _lttng_thread_shutdown(struct lttng_thread *thread) if (ret) { PERROR("Failed to join \"%s\" thread", thread->name); result = false; + goto end; } /* Release the list's reference to the thread. */ cds_list_del(&thread->node);