From: Jérémie Galarneau Date: Thu, 6 Dec 2018 20:49:04 +0000 (-0500) Subject: Fix: worker structure is leaked in run_as process X-Git-Tag: v2.12.0-rc1~704 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=340cf6726ea8249d9c054fbbe03e8c09a0fd6e73;hp=340cf6726ea8249d9c054fbbe03e8c09a0fd6e73;p=lttng-tools.git Fix: worker structure is leaked in run_as process The run_as structure (handle) is allocated and initialized before the fork() that spawns the run_as process. Currently, that structure is only cleaned-up on the parent's end. This fix performs the clean-up on the worker's side as well. Signed-off-by: Jérémie Galarneau ---