ust-consumer: fix: metadata stream lock taken before destroy
[lttng-tools.git] / src / common / ust-consumer / ust-consumer.c
index b64ad04aaa3cd101b3275181b5b382a40fb62385..f8706d0ba88528e3dbf1e698de96eec9c4d5073d 100644 (file)
@@ -1079,7 +1079,6 @@ error_stream:
         * Clean up the stream completly because the next snapshot will use a new
         * metadata stream.
         */
-       pthread_mutex_lock(&metadata_stream->lock);
        consumer_stream_destroy(metadata_stream, NULL);
        cds_list_del(&metadata_stream->send_node);
        metadata_channel->metadata_stream = NULL;
This page took 0.024006 seconds and 5 git commands to generate.