X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=plugins%2Fctf%2Ffs-src%2Fquery.c;h=3c53b51c96b969e5719d439051938c457a82154b;hp=6fa7446f1e4119b0c3899a917f1659cff6301501;hb=256eb8a082d76cf84b6d87982a671107cf09e532;hpb=1530e4060d7afb862a2c1df2436e3104fbf1279d diff --git a/plugins/ctf/fs-src/query.c b/plugins/ctf/fs-src/query.c index 6fa7446f..3c53b51c 100644 --- a/plugins/ctf/fs-src/query.c +++ b/plugins/ctf/fs-src/query.c @@ -213,7 +213,7 @@ int add_stream_ids(struct bt_value *info, struct bt_ctf_stream *stream) int ret = 0; int64_t stream_class_id, stream_instance_id; enum bt_value_status status; - struct bt_ctf_stream_class *stream_class; + struct bt_ctf_stream_class *stream_class = NULL; stream_instance_id = bt_ctf_stream_get_id(stream); if (stream_instance_id != -1) {