From: Mathieu Desnoyers Date: Mon, 16 Sep 2013 13:31:28 +0000 (-0500) Subject: Fix: add missing pthread_join in sessiond X-Git-Tag: v2.4.0-rc1~124 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4ccd8c8fb76d95ecf81a599903e1ff94203e899f;p=lttng-tools.git Fix: add missing pthread_join in sessiond Signed-off-by: Mathieu Desnoyers --- diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 3df9216b0..9d0d01f14 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -4808,6 +4808,7 @@ exit_apps_notify: goto error; /* join error, exit without cleanup */ } + exit_apps: ret = pthread_join(reg_apps_thread, &status); if (ret != 0) {