[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.395 and 1.396

version 1.395, 2020/01/25 06:40:20 version 1.396, 2020/02/26 13:40:09
Line 615 
Line 615 
                 if (cc->abandon_cb != NULL)                  if (cc->abandon_cb != NULL)
                         cc->abandon_cb(ssh, c, cc->ctx);                          cc->abandon_cb(ssh, c, cc->ctx);
                 TAILQ_REMOVE(&c->status_confirms, cc, entry);                  TAILQ_REMOVE(&c->status_confirms, cc, entry);
                 explicit_bzero(cc, sizeof(*cc));                  freezero(cc, sizeof(*cc));
                 free(cc);  
         }          }
         if (c->filter_cleanup != NULL && c->filter_ctx != NULL)          if (c->filter_cleanup != NULL && c->filter_ctx != NULL)
                 c->filter_cleanup(ssh, c->self, c->filter_ctx);                  c->filter_cleanup(ssh, c->self, c->filter_ctx);
         sc->channels[c->self] = NULL;          sc->channels[c->self] = NULL;
         explicit_bzero(c, sizeof(*c));          freezero(c, sizeof(*c));
         free(c);  
 }  }
   
 void  void
Line 3262 
Line 3260 
                 return 0;                  return 0;
         cc->cb(ssh, type, c, cc->ctx);          cc->cb(ssh, type, c, cc->ctx);
         TAILQ_REMOVE(&c->status_confirms, cc, entry);          TAILQ_REMOVE(&c->status_confirms, cc, entry);
         explicit_bzero(cc, sizeof(*cc));          freezero(cc, sizeof(*cc));
         free(cc);  
         return 0;          return 0;
 }  }
   

Legend:
Removed from v.1.395  
changed lines
  Added in v.1.396