X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fregister.c;h=464b89459f7f6f7bc4880fa698d38188f83783ec;hb=be6cb2f4ac4187c08fba0b6d7594ff26efc9ce4e;hp=36e1a0d31f0a8524e3a47a5962b4ce7a4698f7ce;hpb=8712cbfc306d0ea0f25a94af2720f163d1803c29;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);