X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fust-consumer%2Fust-consumer.c;h=5c7b00317dabb824f378858bb05234347eec424e;hp=82d56ebb796910b28b86f417f7ec0f64a08de42b;hb=1b47ae5812ca04726890048e7ec9ce4186e4d590;hpb=f8f3885cc52af9d3c951da78989d6f4a25270411 diff --git a/src/common/ust-consumer/ust-consumer.c b/src/common/ust-consumer/ust-consumer.c index 82d56ebb7..5c7b00317 100644 --- a/src/common/ust-consumer/ust-consumer.c +++ b/src/common/ust-consumer/ust-consumer.c @@ -2630,6 +2630,7 @@ int lttng_ustconsumer_on_recv_stream(struct lttng_consumer_stream *stream) if (!index_file) { goto error; } + assert(!stream->index_file); stream->index_file = index_file; } }