Fix: lock stream class after assigning stream id
[babeltrace.git] / formats / ctf / ir / stream.c
index d291981eaace2fe1eb9fd16070755b5ee3d2fcac..6a71466ca3a60022a178b684b43508e4bed6a5be 100644 (file)
@@ -296,7 +296,6 @@ struct bt_ctf_stream *bt_ctf_stream_create(
        stream->id = stream_class->next_stream_id++;
        stream->stream_class = stream_class;
        bt_ctf_stream_class_get(stream_class);
-       bt_ctf_stream_class_freeze(stream_class);
        stream->events = g_ptr_array_new_with_free_func(
                (GDestroyNotify) bt_ctf_event_put);
        if (!stream->events) {
This page took 0.024605 seconds and 4 git commands to generate.