From 69c11e5072818e18aeb38f5ec3c3a6ade3636bd5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Sun, 22 Sep 2024 19:58:02 -0400
Subject: [PATCH] Destroy ssh_tx_mutex

---
 src/syncterm/ssh.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/syncterm/ssh.c b/src/syncterm/ssh.c
index eabc04fcce..a86108eb26 100644
--- a/src/syncterm/ssh.c
+++ b/src/syncterm/ssh.c
@@ -1031,5 +1031,6 @@ ssh_close(void)
 	FREE_AND_NULL(conn_api.rd_buf);
 	FREE_AND_NULL(conn_api.wr_buf);
 	pthread_mutex_destroy(&ssh_mutex);
+	pthread_mutex_init(&ssh_tx_mutex);
 	return 0;
 }
-- 
GitLab