Fix: sessiond: unbalanced health register/unregister on error
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 17 Oct 2019 18:37:37 +0000 (14:37 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 17 Oct 2019 19:33:41 +0000 (15:33 -0400)
commit2ebb57e97ea77a3ab8203899fae59b699145cff8
tree47132b36783833b63331d2ae39bc9a129b07b2b1
parentbe6cb2f4ac4187c08fba0b6d7594ff26efc9ce4e
Fix: sessiond: unbalanced health register/unregister on error

A number of threads do not correctly pair registrations and
unregistrations to the health monitoring subsystem when an error
forces them to abort early. Since the pattern is mostly the same
in the notification and rotation thread, they are both fixed in
the same commit.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/notification-thread.c
src/bin/lttng-sessiond/rotation-thread.c
This page took 0.026243 seconds and 4 git commands to generate.