From 0b58621cb7dcf6791793c2a6dc56238411ad7bd3 Mon Sep 17 00:00:00 2001 From: Marian Florea Date: Tue, 21 Jun 2016 16:17:11 +0300 Subject: [PATCH] Fix: consumerd memory leak when using snapshot sessions Signed-off-by: Marian Florea --- src/common/ust-consumer/ust-consumer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/ust-consumer/ust-consumer.c b/src/common/ust-consumer/ust-consumer.c index 7eba01d..ecf0cbb 100644 --- a/src/common/ust-consumer/ust-consumer.c +++ b/src/common/ust-consumer/ust-consumer.c @@ -1400,6 +1400,8 @@ int lttng_ustconsumer_recv_cmd(struct lttng_consumer_local_data *ctx, ret_code = ret; } + notify_thread_del_channel(ctx, msg.u.close_metadata.key); + goto end_msg_sessiond; } case LTTNG_CONSUMER_FLUSH_CHANNEL: -- 1.9.1