lib: bt_object_{get,put}_ref(): accept a `const` parameter
[babeltrace.git] / plugins / ctf / fs-src / fs.c
index 082d8fa48c978647a50a7da06a1f196a06847fea..24bfa04a5ebeaa605e8245b770c0b33bf40173c6 100644 (file)
@@ -536,7 +536,8 @@ struct ctf_fs_ds_file_group *ctf_fs_ds_file_group_create(
 
        ds_file_group->stream_id = stream_instance_id;
        BT_ASSERT(stream_class);
-       ds_file_group->stream_class = bt_object_get_ref(stream_class);
+       ds_file_group->stream_class = stream_class;
+       bt_object_get_ref(ds_file_group->stream_class);
        ds_file_group->ctf_fs_trace = ctf_fs_trace;
        goto end;
 
This page took 0.023336 seconds and 4 git commands to generate.