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.12.0-rc1~805 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3a84e2f3c3df5b461d9621b64f14abc3b8c3c29c;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 0cfbf5c7c..e0d6ea496 100644 --- a/src/common/consumer/consumer.c +++ b/src/common/consumer/consumer.c @@ -323,6 +323,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); }