X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer-stream.c;h=717e0a7351a49461e4702c872fc91914b8efaffe;hp=02887fcc457aaa3deb435d94bfc3ccb04fa2496b;hb=5e41ebe1bcc918cb5ff5d97489ccfbae0b7086a3;hpb=ec6ea7d01adc8a9d1481ba645b282c92ec27208e diff --git a/src/common/consumer-stream.c b/src/common/consumer-stream.c index 02887fcc4..717e0a735 100644 --- a/src/common/consumer-stream.c +++ b/src/common/consumer-stream.c @@ -281,7 +281,6 @@ void consumer_stream_destroy(struct lttng_consumer_stream *stream, if (stream->globally_visible) { pthread_mutex_lock(&consumer_data.lock); pthread_mutex_lock(&stream->chan->lock); - pthread_mutex_lock(&stream->chan->timer_lock); pthread_mutex_lock(&stream->lock); /* Remove every reference of the stream in the consumer. */ consumer_stream_delete(stream, ht); @@ -295,7 +294,6 @@ void consumer_stream_destroy(struct lttng_consumer_stream *stream, consumer_data.need_update = 1; pthread_mutex_unlock(&stream->lock); - pthread_mutex_unlock(&stream->chan->timer_lock); pthread_mutex_unlock(&stream->chan->lock); pthread_mutex_unlock(&consumer_data.lock); } else {