The callback registered through pthread_cleanup_push(...),
thread_init_cleanup, now expects a non-NULL thread_state argument.
The thread_state is passed to match this recent change.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
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);