X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fregister.c;h=464b89459f7f6f7bc4880fa698d38188f83783ec;hb=40e14884a7f6606e387cdfa00f66d49a54cf311c;hp=36e1a0d31f0a8524e3a47a5962b4ce7a4698f7ce;hpb=229afb9c2b86080bfd645d39ae101a3c3389c622;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/register.c b/src/bin/lttng-sessiond/register.c index 36e1a0d31..464b89459 100644 --- a/src/bin/lttng-sessiond/register.c +++ b/src/bin/lttng-sessiond/register.c @@ -175,7 +175,7 @@ static void *thread_application_registration(void *data) DBG("[thread] Manage application registration started"); - pthread_cleanup_push(thread_init_cleanup, NULL); + pthread_cleanup_push(thread_init_cleanup, thread_state); health_register(health_sessiond, HEALTH_SESSIOND_TYPE_APP_REG); ret = lttcomm_listen_unix_sock(application_socket);