Fix: missing session reference release on kernel poll update
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 12 Dec 2018 03:42:19 +0000 (22:42 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 12 Dec 2018 03:42:19 +0000 (22:42 -0500)
commit0318876b646d8f16bf063a59e157172739ca7899
treea06d836afa8142791dfc4046f0ac596bd16ba412
parent308df7bb0aad1ee6273c99480445a2d4af81e47a
Fix: missing session reference release on kernel poll update

The iteration performed on all sessions in update_kernel_poll() does
not release the reference taken on the sessions. This causes the
session(s) to be leaked and prevents the shutdown of the session
daemon as it waits for all sessions to be destroyed before completing
its teardown.

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