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>
Thu, 16 Jul 2015 17:34:45 +0000 (13:34 -0400)
commit5eb3e5b8f4fcb95f27f43cd2e7ea436937037d0e
treebeebfded419c00d65294f81baee6e502fbb00ed4
parent107de7f10d957e47f0aa7f1fe6817be8d06a56e4
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.025472 seconds and 4 git commands to generate.