goto error;
}
+ stream->cc_prio_map = bt_get(ctf_fs->cc_prio_map);
g_string_assign(stream->file->path, path);
ret = ctf_fs_file_open(ctf_fs, stream->file, "rb");
if (ret) {
}
stream->notif_iter = bt_ctf_notif_iter_create(ctf_fs->metadata->trace,
- ctf_fs->cc_prio_map, ctf_fs->page_size, medops, stream,
+ ctf_fs->page_size, medops, stream,
ctf_fs->error_fp);
if (!stream->notif_iter) {
goto error;
return;
}
+ bt_put(stream->cc_prio_map);
+
if (stream->file) {
ctf_fs_file_destroy(stream->file);
}
}
notif_iter_status = bt_ctf_notif_iter_get_next_notification(stream->notif_iter,
- &ret.notification);
+ stream->cc_prio_map, &ret.notification);
if (notif_iter_status != BT_CTF_NOTIF_ITER_STATUS_OK &&
notif_iter_status != BT_CTF_NOTIF_ITER_STATUS_EOF) {
goto translate_status;