Fix: sessiond: leak of application socket on chmod failure
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 25 Sep 2019 22:04:14 +0000 (18:04 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 26 Sep 2019 16:40:59 +0000 (12:40 -0400)
commit13f8fa24410b634589c1d3c41e27d75e3f97c68a
treeb62a45e264b3dba229d9891e8d1b773836b57c78
parente7bd0fbbcbf053cdb6f77a0f907029d341b59986
Fix: sessiond: leak of application socket on chmod failure

The apps_sock fd is leaked whenever the chmod of the application
socket fails. Add a clean-up error path.

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