Fix: Memory leak in relay_add_stream error path
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 16 Jul 2015 16:58:44 +0000 (12:58 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 3 Aug 2015 16:05:48 +0000 (12:05 -0400)
commitf3e17e937e2a9eb45301742a6a7ea25835bcb693
tree73fd0ec353be65127637932d0df96e49b08a4ba5
parentf74306392c0fb8b155ae281247e16f0448476a83
Fix: Memory leak in relay_add_stream error path

Failing to allocate a struct ctf_trace results in the leak of a stream's
path and channel name.

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