From: Jérémie Galarneau Date: Wed, 25 Sep 2019 22:04:14 +0000 (-0400) Subject: Fix: sessiond: leak of application socket on chmod failure X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=d9c6b5f258e9b72fb1da7492f4001dd0976e9886;hp=d9c6b5f258e9b72fb1da7492f4001dd0976e9886 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 ---