From: Jérémie Galarneau Date: Thu, 13 Sep 2018 21:04:45 +0000 (-0400) Subject: Fix: relayd control socket mutex is not destroyed X-Git-Tag: v2.9.11~21 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5f3ea0040a33e37c9db44494f7ad64a3f78f9c6b;p=lttng-tools.git Fix: relayd control socket mutex is not destroyed Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/consumer/consumer.c b/src/common/consumer/consumer.c index 106c705f1..7ae40c57c 100644 --- a/src/common/consumer/consumer.c +++ b/src/common/consumer/consumer.c @@ -320,6 +320,7 @@ static void free_relayd_rcu(struct rcu_head *head) (void) relayd_close(&relayd->control_sock); (void) relayd_close(&relayd->data_sock); + pthread_mutex_destroy(&relayd->ctrl_sock_mutex); free(relayd); }