Fix: ust-consumerd: leak of stream control structure
[lttng-tools.git] / src / common / consumer / consumer-stream.cpp
index f9807cb0173f4bf6f4a7c0e9f838afb4631c16ec..479667209e6600d05866346de93cf9340b1a83aa 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011 Julien Desfossez <julien.desfossez@polymtl.ca>
+ * Copyright (C) 2011 EfficiOS Inc.
  * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  * Copyright (C) 2013 David Goulet <dgoulet@efficios.com>
  *
@@ -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.023388 seconds and 4 git commands to generate.