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:28:13 +0000 (12:28 -0400)
commit198d75caf085937dec0aca154e899ea574f9295d
tree99a3ffe8e532941df65087389bc7e206b2439100
parent88fd7d62599f1e64a2cd5175ec0d832fc8de2bf9
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.025517 seconds and 4 git commands to generate.