Clean-up: reduce scope of dyanamically-allocated string
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Nov 2017 23:23:44 +0000 (00:23 +0100)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Nov 2017 23:23:44 +0000 (00:23 +0100)
commitddaec4a2b9b7c8be74166525bdcdff115c80d7c4
treed83759d0f3ec15f7110eff0869beb252f02f12a8
parentd222983eed2efddbd4a1380e23bc3f43edfc522e
Clean-up: reduce scope of dyanamically-allocated string

tmpnew is only useful within the scope of the libdir check.
It can be allocated and free()'d within that scope.

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