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>
Wed, 25 Sep 2019 22:04:14 +0000 (18:04 -0400)
commitd9c6b5f258e9b72fb1da7492f4001dd0976e9886
tree3d44a72fb40031dfa9fb624798ef24fe4d8ee19c
parent6fe2a7d00ab34f9a4db653c04819cd465fefa196
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.025577 seconds and 4 git commands to generate.