Displaying 1 result from an estimated 1 matches for "listening_addr".
2020 Jun 30
7
[Bug 3189] New: channel mux_ctx memory leak
...6 0.04 ssh
08:24:20 62937 0.40 0.00 128420 3196 0.04 ssh
Fix:
diff --git a/channels.c b/channels.c
index 95a51e2..74b3cec 100644
--- a/channels.c
+++ b/channels.c
@@ -621,6 +621,8 @@ channel_free(struct ssh *ssh, Channel *c)
c->path = NULL;
free(c->listening_addr);
c->listening_addr = NULL;
+ free(c->mux_ctx);
+ c->mux_ctx = NULL;
while ((cc = TAILQ_FIRST(&c->status_confirms)) != NULL) {
if (cc->abandon_cb != NULL)
cc->abandon_cb(ssh, c, cc->ctx);
--
You are recei...