Fix: sink.text.pretty: comma in enum fields
[babeltrace.git] / plugins / ctf / fs-src / fs.c
index 7d2fb08be147c3a0f35beb95b995f8d1418890d1..6f02c8de4570a40738c6886173338e4acb64073a 100644 (file)
@@ -600,7 +600,7 @@ void array_insert(GPtrArray *array, gpointer element, size_t pos)
                        (original_array_len - pos) * sizeof(gpointer));
        }
 
-       /* Insert the value and bump the array len */
+       /* Insert the value. */
        array->pdata[pos] = element;
 }
 
@@ -797,6 +797,7 @@ int add_ds_file_to_ds_file_group(struct ctf_fs_trace *ctf_fs_trace,
 
 error:
        ctf_fs_ds_file_group_destroy(ds_file_group);
+       ds_file_group = NULL;
        ret = -1;
 
 end:
This page took 0.023642 seconds and 4 git commands to generate.