Fix: leaked chunk reference in lttng_consumer_create_trace_chunk
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 10 Sep 2019 16:44:44 +0000 (12:44 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 10 Sep 2019 16:44:44 +0000 (12:44 -0400)
commit7ea24db3075a52487a76894057db56eba29581b3
tree8d4809fb943ecd84cba00f603877270811335783
parent2530e68bb73b6ed32df6c5b4a5031bca3f5f3015
Fix: leaked chunk reference in lttng_consumer_create_trace_chunk

Error paths using the 'end' label leak the reference of the
'created_chunk'. The labels are renamed to error and error_unlock
to follow the convention used in most of the code base.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer/consumer.c
This page took 0.026672 seconds and 4 git commands to generate.