Fix: leak of consumer_output when using an explicit snapshot output
The consumer_output of a snapshot_output is leaked whenever a
snapshot is taken on a session that doesn't have pre-configured
snapshot outputs.
Steps to reproduce the leak:
$ lttng create --snapshot
$ lttng snapshot del-output 1
$ lttng enable-event -u -a
$ lttng start
$ lttng snapshot record /tmp/leak_it
This results in a leak of ~24kb/snapshot as reported by valgrind.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
This page took 0.025278 seconds and 4 git commands to generate.