Fix: ust-consumerd: leak of stream control structure
[lttng-tools.git] / src / common / consumer / consumer-stream.cpp
index 2dc3f002b937fe0061caeeacf204d9f7a2b57862..479667209e6600d05866346de93cf9340b1a83aa 100644 (file)
@@ -1092,6 +1092,7 @@ void consumer_stream_destroy(struct lttng_consumer_stream *stream,
                         * If the stream is not visible globally, this needs to be done
                         * outside of the consumer data lock section.
                         */
+                       destroy_close_stream(stream);
                        free_chan = unref_channel(stream);
                }
 
This page took 0.023316 seconds and 4 git commands to generate.