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 19:31:49 +0000 (15:31 -0400)
commit92e415922d60df808cf61a851f16649b2e1542b5
treeb86e32cf812c6166cfa1dcc536422df0052177fe
parent77ef44fa23c474a45ae80b118b73179102f6c693
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.02557 seconds and 4 git commands to generate.