projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Docs: A stream has no ownership of its trace
[babeltrace.git]
/
formats
/
ctf
/
ir
/
stream.c
diff --git
a/formats/ctf/ir/stream.c
b/formats/ctf/ir/stream.c
index e89b1fcf6b62f669b6c67d3b953369f13b9441df..047fc2925e19e3e79af185389f9b9fa22833125a 100644
(file)
--- a/
formats/ctf/ir/stream.c
+++ b/
formats/ctf/ir/stream.c
@@
-270,6
+270,7
@@
struct bt_ctf_stream *bt_ctf_stream_create(
goto end;
}
+ /* A stream has no ownership of its trace (weak ptr) */
stream->trace = trace;
bt_ctf_ref_init(&stream->ref_count);
stream->packet_context = bt_ctf_field_create(
This page took
0.025112 seconds
and
4
git commands to generate.