Fix: worker structure is leaked in run_as process
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 6 Dec 2018 20:49:04 +0000 (15:49 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 21 Jan 2019 21:29:26 +0000 (16:29 -0500)
commit9a642a3f53dfc3deab8196945d0b3762f4641200
tree38f85e76aa85ee971b69357e1e0173340cd0b3a8
parent7b539a245bd02d6f4cbe34fb00f11e76f2f040b1
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 <jeremie.galarneau@efficios.com>
src/common/runas.c
This page took 0.025145 seconds and 4 git commands to generate.