diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-09-22 21:12:56 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-09-22 21:12:56 +1000 |
commit | 3dbff2a93b0f326cd4891654c3553f901df8ede7 (patch) | |
tree | 7bc83d680ea342aeefbbac656d1a81133ecabd50 /channels.c | |
parent | 3d326221714451b616b82744d38af484e718b49b (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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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++) |