ctf.fs: split streams, one per port
[babeltrace.git] / plugins / ctf / fs / file.c
index c0ca3b8d05cf9a222598c750e69e1a039bd4d3b2..8b756496a9d82064981ce1351db6efd34b3ede1e 100644 (file)
 BT_HIDDEN
 void ctf_fs_file_destroy(struct ctf_fs_file *file)
 {
-       struct ctf_fs_component *ctf_fs = file->ctf_fs;
+       struct ctf_fs_component *ctf_fs;;
 
        if (!file) {
                return;
        }
 
+       ctf_fs = file->ctf_fs;
+
        if (file->fp) {
                PDBG("Closing file \"%s\" (%p)\n", file->path->str, file->fp);
 
This page took 0.023494 seconds and 4 git commands to generate.