[BACK]Return to channels.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/channels.c between version 1.407 and 1.408

version 1.407, 2021/05/19 01:24:05 version 1.408, 2021/09/14 11:04:21
Line 619 
Line 619 
         debug("channel %d: free: %s, nchannels %u", c->self,          debug("channel %d: free: %s, nchannels %u", c->self,
             c->remote_name ? c->remote_name : "???", n);              c->remote_name ? c->remote_name : "???", n);
   
         if (c->type == SSH_CHANNEL_MUX_CLIENT)          if (c->type == SSH_CHANNEL_MUX_CLIENT) {
                 mux_remove_remote_forwardings(ssh, c);                  mux_remove_remote_forwardings(ssh, c);
         else if (c->type == SSH_CHANNEL_MUX_LISTENER) {                  free(c->mux_ctx);
                   c->mux_ctx = NULL;
           } else if (c->type == SSH_CHANNEL_MUX_LISTENER) {
                 free(c->mux_ctx);                  free(c->mux_ctx);
                 c->mux_ctx = NULL;                  c->mux_ctx = NULL;
         }          }

Legend:
Removed from v.1.407  
changed lines
  Added in v.1.408