projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: protect the channel's metadata stream using the metadata cache lock
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
stream.c
diff --git
a/src/bin/lttng-relayd/stream.c
b/src/bin/lttng-relayd/stream.c
index 335a1cf5f79de497f3002beb3ae0a2a983da355f..c59bb9416b1c9609ca34884cbc6126daf1295b78 100644
(file)
--- a/
src/bin/lttng-relayd/stream.c
+++ b/
src/bin/lttng-relayd/stream.c
@@
-306,9
+306,9
@@
static void stream_release(struct urcu_ref *ref)
stream_fd_put(stream->stream_fd);
stream->stream_fd = NULL;
}
stream_fd_put(stream->stream_fd);
stream->stream_fd = NULL;
}
- if (stream->index_f
d
) {
-
stream_fd_put(stream->index_fd
);
- stream->index_f
d
= NULL;
+ if (stream->index_f
ile
) {
+
lttng_index_file_put(stream->index_file
);
+ stream->index_f
ile
= NULL;
}
if (stream->trace) {
ctf_trace_put(stream->trace);
}
if (stream->trace) {
ctf_trace_put(stream->trace);
This page took
0.029209 seconds
and
4
git commands to generate.