summaryrefslogtreecommitdiffstats
path: root/channels.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-09-22 21:12:56 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-09-22 21:12:56 +1000
commit3dbff2a93b0f326cd4891654c3553f901df8ede7 (patch)
tree7bc83d680ea342aeefbbac656d1a81133ecabd50 /channels.c
parent3d326221714451b616b82744d38af484e718b49b (diff)
- markus@cvs.openbsd.org 2003/09/19 11:31:33
[channels.c] do not call channel_free_all on fatal; ok deraadt
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/channels.c b/channels.c
index 3d75c8f2..af2ae18b 100644
--- a/channels.c
+++ b/channels.c
@@ -39,7 +39,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: channels.c,v 1.195 2003/09/16 21:02:40 markus Exp $");
+RCSID("$OpenBSD: channels.c,v 1.196 2003/09/19 11:31:33 markus Exp $");
#include "ssh.h"
#include "ssh1.h"
@@ -217,7 +217,6 @@ channel_new(char *ctype, int type, int rfd, int wfd, int efd,
channels = xmalloc(channels_alloc * sizeof(Channel *));
for (i = 0; i < channels_alloc; i++)
channels[i] = NULL;
- fatal_add_cleanup((void (*) (void *)) channel_free_all, NULL);
}
/* Try to find a free slot where to put the new channel. */
for (found = -1, i = 0; i < channels_alloc; i++)