[BACK]Return to server-client.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/server-client.c between version 1.64 and 1.65

version 1.64, 2012/01/21 23:51:34 version 1.65, 2012/01/29 02:22:11
Line 124 
Line 124 
         if (c->flags & CLIENT_TERMINAL)          if (c->flags & CLIENT_TERMINAL)
                 tty_free(&c->tty);                  tty_free(&c->tty);
   
           if (c->stdin_event != NULL)
                   bufferevent_free(c->stdin_event);
         if (c->stdin_fd != -1) {          if (c->stdin_fd != -1) {
                 setblocking(c->stdin_fd, 1);                  setblocking(c->stdin_fd, 1);
                 close(c->stdin_fd);                  close(c->stdin_fd);
         }          }
         if (c->stdin_event != NULL)          if (c->stdout_event != NULL)
                 bufferevent_free(c->stdin_event);                  bufferevent_free(c->stdout_event);
         if (c->stdout_fd != -1) {          if (c->stdout_fd != -1) {
                 setblocking(c->stdout_fd, 1);                  setblocking(c->stdout_fd, 1);
                 close(c->stdout_fd);                  close(c->stdout_fd);
         }          }
         if (c->stdout_event != NULL)          if (c->stderr_event != NULL)
                 bufferevent_free(c->stdout_event);                  bufferevent_free(c->stderr_event);
         if (c->stderr_fd != -1) {          if (c->stderr_fd != -1) {
                 setblocking(c->stderr_fd, 1);                  setblocking(c->stderr_fd, 1);
                 close(c->stderr_fd);                  close(c->stderr_fd);
         }          }
         if (c->stderr_event != NULL)  
                 bufferevent_free(c->stderr_event);  
   
         status_free_jobs(&c->status_new);          status_free_jobs(&c->status_new);
         status_free_jobs(&c->status_old);          status_free_jobs(&c->status_old);

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65