relayd: remove unnecessary allocation in session path formatting
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 18 Jul 2019 20:11:59 +0000 (16:11 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 9 Aug 2019 15:28:43 +0000 (11:28 -0400)
commitb729f6f9f053b2314204b48e7d350738ae548c5d
tree1db67d8960ac6882a600803ecc63585a3e2214c3
parentbbc4768c20f1c552222e1746f9475d145d7bf04e
relayd: remove unnecessary allocation in session path formatting

`alloc_path` merely contains the contents of `default_path`.
The allocation of `alloc_path` can be removed and `default_path`
used in its place.

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