From 152413a01067652b58ec4e682c598396af37a01c Mon Sep 17 00:00:00 2001 From: David Goulet Date: Thu, 13 Dec 2012 16:55:08 -0500 Subject: [PATCH 1/1] Fix: missing health exit in registration app thread Signed-off-by: David Goulet --- src/bin/lttng-sessiond/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 8a1f75311..cc93da881 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -1513,7 +1513,6 @@ error: health_error(&health_thread_app_reg); ERR("Health error occurred in %s", __func__); } - health_exit(&health_thread_app_reg); /* Notify that the registration thread is gone */ notify_ust_apps(0); @@ -1538,6 +1537,7 @@ error_poll_add: error_listen: error_create_poll: DBG("UST Registration thread cleanup complete"); + health_exit(&health_thread_app_reg); return NULL; } -- 2.34.1