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, 14 Jan 2019 22:56:28 +0000 (17:56 -0500)
commit5e8e3a0044b3026f895f4db4dac2908bcf362b67
tree712d6b5c5956713a8f65f92f81cce51f93072ddd
parent929f71ec24b58045319473f050a7f235f726ec78
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.027121 seconds and 4 git commands to generate.