X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.c;h=e0d6ea496ade52af826cf02b0fc9fe0054b64895;hp=0cfbf5c7c03ef36bf1dc958601babd76e6f3d279;hb=3a84e2f3c3df5b461d9621b64f14abc3b8c3c29c;hpb=18c9d47c32d019535b6ef12ed84e3eb220f6060d 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); }