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>
Tue, 18 Dec 2018 21:02:47 +0000 (16:02 -0500)
commitc59b0313b109adc89fe85eeb692154aa0c503e1a
tree61f7f9625e238f5b2a8fb1a0f964fc8946065c94
parenteaacb6d73009ef03d7cd2821c9d021708d130942
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.025465 seconds and 4 git commands to generate.