Fix: src.ctf.fs: trace-info: port_name memory leak
[babeltrace.git] / src / plugins / ctf / fs-src / query.c
index 6cfe5b4f7bcdcc20cfdcf04df3d7f56f65bf0fd0..1ba84b4a8393200f566cf70b79f92b28722c0da2 100644 (file)
@@ -357,6 +357,9 @@ int populate_stream_info(struct ctf_fs_ds_file_group *group,
        }
 
 end:
+       if (port_name) {
+               g_free(port_name);
+       }
        bt_value_put_ref(file_paths);
        return ret;
 }
This page took 0.023331 seconds and 4 git commands to generate.