X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fctf%2Fir%2Fstream.c;h=047fc2925e19e3e79af185389f9b9fa22833125a;hb=a4031f6749758977b2934b13fc1fb53a48ab2dfe;hp=e89b1fcf6b62f669b6c67d3b953369f13b9441df;hpb=4fef87ab8b7ab9bd6b526839ec57739a5ef383cf;p=babeltrace.git diff --git a/formats/ctf/ir/stream.c b/formats/ctf/ir/stream.c index e89b1fcf..047fc292 100644 --- 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(