[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.90 and 1.91

version 1.90, 2020/04/14 06:00:52 version 1.91, 2020/04/23 05:48:42
Line 243 
Line 243 
 void  void
 cmdq_free_state(struct cmdq_state *state)  cmdq_free_state(struct cmdq_state *state)
 {  {
         if (--state->references == 0)          if (--state->references != 0)
                 free(state);                  return;
   
           if (state->formats != NULL)
                   format_free(state->formats);
           free(state);
 }  }
   
 /* Add a format to command queue. */  /* Add a format to command queue. */

Legend:
Removed from v.1.90  
changed lines
  Added in v.1.91