Fix: release reference to trace chunk on index file creation failure
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 18 Sep 2019 17:47:26 +0000 (13:47 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 Sep 2019 18:33:21 +0000 (14:33 -0400)
commit307db950d03f305b6b705e5316e4a7571197144f
treea8ce88129c4f1e0b3773c9eb41b99b432a56727d
parent606846ba9588920704ccaa53d1127ecc1dcdaa80
Fix: release reference to trace chunk on index file creation failure

The reference to a trace chunk that is acquired in
_lttng_index_file_create_from_trace_chunk() is leaked on error.
Release the reference in the function's error path.

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