projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
relayd fix: trace chunk is reclaimed before close command
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
session.c
diff --git
a/src/bin/lttng-relayd/session.c
b/src/bin/lttng-relayd/session.c
index 0997fdd6579469098f0db94eb8d31fbfc0ef183c..28e75f1dc1804c3f3e3740bca3a7a4e3e9fd9548 100644
(file)
--- a/
src/bin/lttng-relayd/session.c
+++ b/
src/bin/lttng-relayd/session.c
@@
-245,6
+245,8
@@
static void destroy_session(struct relay_session *session)
assert(!ret);
lttng_trace_chunk_put(session->current_trace_chunk);
session->current_trace_chunk = NULL;
assert(!ret);
lttng_trace_chunk_put(session->current_trace_chunk);
session->current_trace_chunk = NULL;
+ lttng_trace_chunk_put(session->pending_closure_trace_chunk);
+ session->pending_closure_trace_chunk = NULL;
ret = sessiond_trace_chunk_registry_session_destroyed(
sessiond_trace_chunk_registry, session->sessiond_uuid);
assert(!ret);
ret = sessiond_trace_chunk_registry_session_destroyed(
sessiond_trace_chunk_registry, session->sessiond_uuid);
assert(!ret);
This page took
0.02342 seconds
and
4
git commands to generate.