Fix: path leak on formatting error
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 20 Aug 2018 19:17:05 +0000 (15:17 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 20 Aug 2018 19:17:05 +0000 (15:17 -0400)
commita0fda194a7bc479b43f1f76a0cbf3f0796e5b49a
treebea74a6db602d54f27ba817aa7630bced3a8713e
parent8bdcc002595070b62b2ea7a58fa7f9b090cf6d2d
Fix: path leak on formatting error

'tmp_path' is leaked if 'snprintf()' reports an error.

Reported-by: Coverity Scan (1387044 Resource leak)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/ust-app.c
This page took 0.027161 seconds and 5 git commands to generate.