Fix: leak of lttng-consumerd global HTs in run-as worker
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 12 Jan 2019 19:17:58 +0000 (14:17 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 21 Jan 2019 18:39:24 +0000 (13:39 -0500)
commit7ebbba65d65972cc4305dd94864825cc5dee7e5b
tree68ebd74e0eead05bf22213ee44f586318b2a79c0
parent5bedd9864596458ab996a11092d29484c4e283ab
Fix: leak of lttng-consumerd global HTs in run-as worker

All resources allocated by the consumerd before the launch
of the run-as worker process are leaked since the run-as process
is only fork()'ed (the original process image is preserved).

Moving the launch of the worker earlier in the initialization
of the consumerd works around this problem.

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