Fix: ust-consumerd: leak of stream control structure
[lttng-tools.git] / src / common / consumer / consumer-stream.c
index ef29866a00c8d79be136f3788cce0d1b323e0053..6fe91c2371f16d51836cce898a4eab4bc0cd8ff3 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>
  *
@@ -1091,6 +1091,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.023943 seconds and 4 git commands to generate.