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

Diff for /src/usr.bin/tmux/cmd-queue.c between version 1.21 and 1.22

version 1.21, 2015/02/05 10:26:29 version 1.22, 2015/02/12 09:56:19
Line 163 
Line 163 
         int                      empty, flags;          int                      empty, flags;
         char                     s[1024];          char                     s[1024];
   
           cmdq->references++;
         notify_disable();          notify_disable();
   
         empty = TAILQ_EMPTY(&cmdq->queue);          empty = TAILQ_EMPTY(&cmdq->queue);
Line 220 
Line 221 
         if (cmdq->client_exit > 0)          if (cmdq->client_exit > 0)
                 cmdq->client->flags |= CLIENT_EXIT;                  cmdq->client->flags |= CLIENT_EXIT;
         if (cmdq->emptyfn != NULL)          if (cmdq->emptyfn != NULL)
                 cmdq->emptyfn(cmdq); /* may free cmdq */                  cmdq->emptyfn(cmdq);
         empty = 1;          empty = 1;
   
 out:  out:
         notify_enable();          notify_enable();
           cmdq_free(cmdq);
   
         return (empty);          return (empty);
 }  }
   

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22