Fix: ds_file_group is checked instead of ds_file_group->stream
[babeltrace.git] / plugins / ctf / fs-src / fs.c
index a0008ef21f820fe2a0247066ad247b159ef09398..6f5517c07a168d3309cb0a8d548b51be8ae1b6fa 100644 (file)
@@ -899,7 +899,7 @@ int create_ds_file_groups(struct ctf_fs_trace *ctf_fs_trace)
 
                g_string_free(name, TRUE);
 
-               if (!ds_file_group) {
+               if (!ds_file_group->stream) {
                        BT_LOGE("Cannot create stream for DS file group: "
                                "addr=%p, stream-name=\"%s\"",
                                ds_file_group, name->str);
This page took 0.024021 seconds and 4 git commands to generate.