summaryrefslogtreecommitdiff
path: root/mux.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2008-06-13 04:55:46 +1000
committerDarren Tucker <dtucker@zip.com.au>2008-06-13 04:55:46 +1000
commit84c56f536ca664f79172d595e088fce6aa84be21 (patch)
treeed9f037d4935c1bb0a59c8a0dd3e815883a07fa2 /mux.c
parent4b3b9773ec9d5e0de31a1a8e113488497c7113dc (diff)
- djm@cvs.openbsd.org 2008/06/12 15:19:17
[clientloop.h channels.h clientloop.c channels.c mux.c] The multiplexing escape char handler commit last night introduced a small memory leak per session; plug it.
Diffstat (limited to 'mux.c')
-rw-r--r--mux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mux.c b/mux.c
index f5e68f653..8f7bfb793 100644
--- a/mux.c
+++ b/mux.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: mux.c,v 1.3 2008/06/12 05:32:30 djm Exp $ */ 1/* $OpenBSD: mux.c,v 1.4 2008/06/12 15:19:17 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org> 3 * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org>
4 * 4 *
@@ -436,6 +436,7 @@ muxserver_accept_control(void)
436 if (cctx->want_tty && escape_char != 0xffffffff) { 436 if (cctx->want_tty && escape_char != 0xffffffff) {
437 channel_register_filter(c->self, 437 channel_register_filter(c->self,
438 client_simple_escape_filter, NULL, 438 client_simple_escape_filter, NULL,
439 client_filter_cleanup,
439 client_new_escape_filter_ctx((int)escape_char)); 440 client_new_escape_filter_ctx((int)escape_char));
440 } 441 }
441 442