summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e441f4e)
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>
rcu_read_unlock();
/* Release the reference returned by the "publish" operation. */
lttng_trace_chunk_put(published_chunk);
rcu_read_unlock();
/* Release the reference returned by the "publish" operation. */
lttng_trace_chunk_put(published_chunk);
+ lttng_trace_chunk_put(created_chunk);