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>
Thu, 19 Sep 2019 19:31:48 +0000 (15:31 -0400)
commitd45a350f47486db8c065f96412c76210ed49c812
tree19f1af95044ed0500e7d172127a9900ba3f8e95a
parent15de0c603a7e9befe657e6856df286a3d173ad7b
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.025995 seconds and 4 git commands to generate.