From: Mathieu Desnoyers Date: Thu, 12 Apr 2012 15:45:36 +0000 (-0400) Subject: Fix: add missing ht_destroy at consumer teardown X-Git-Tag: v2.0.1~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a88b4be2663b5b3f08085ca54a4544832ac6ceb1;p=lttng-tools.git Fix: add missing ht_destroy at consumer teardown Signed-off-by: Mathieu Desnoyers Signed-off-by: David Goulet --- diff --git a/src/common/consumer.c b/src/common/consumer.c index ee5575262..dd8c621f1 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -636,6 +636,9 @@ void lttng_consumer_cleanup(void) } rcu_read_unlock(); + + lttng_ht_destroy(consumer_data.stream_ht); + lttng_ht_destroy(consumer_data.channel_ht); } /*