Fix: release reference to created chunk if it can't be published
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 9 Sep 2019 15:00:30 +0000 (11:00 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 Sep 2019 19:31:48 +0000 (15:31 -0400)
commit2519ef55053d651938872d7df86635aa34abd92e
tree1aef9c98a1802090f15e5aa80027043acba04adf
parent0f72f6b53be73a2946d9b3dc54a8e45268338db3
Fix: release reference to created chunk if it can't be published

The reference to a trace chunk created in
lttng_consumer_create_trace_chunk() should be dropped if it can't be
published. Failing to do so results in a leak.

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