diff options
Diffstat (limited to 'common-channel.c')
-rw-r--r-- | common-channel.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common-channel.c b/common-channel.c index 7383f47..14985a9 100644 --- a/common-channel.c +++ b/common-channel.c @@ -88,6 +88,10 @@ void chancleanup() { unsigned int i; + if (!ses.channels) { + return; + } + TRACE(("enter chancleanup")) for (i = 0; i < ses.chansize; i++) { if (ses.channels[i] != NULL) { |