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

Diff for /src/usr.bin/tmux/arguments.c between version 1.60 and 1.61

version 1.60, 2023/06/30 21:55:08 version 1.61, 2023/11/14 15:59:49
Line 761 
Line 761 
         struct args_value               *value;          struct args_value               *value;
         struct args_command_state       *state;          struct args_command_state       *state;
         const char                      *cmd;          const char                      *cmd;
           const char                      *file;
   
         state = xcalloc(1, sizeof *state);          state = xcalloc(1, sizeof *state);
   
Line 787 
Line 788 
   
         if (wait)          if (wait)
                 state->pi.item = item;                  state->pi.item = item;
         cmd_get_source(self, &state->pi.file, &state->pi.line);          cmd_get_source(self, &file, &state->pi.line);
           state->pi.file = xstrdup(file);
         state->pi.c = tc;          state->pi.c = tc;
         if (state->pi.c != NULL)          if (state->pi.c != NULL)
                 state->pi.c->references++;                  state->pi.c->references++;
Line 842 
Line 844 
                 cmd_list_free(state->cmdlist);                  cmd_list_free(state->cmdlist);
         if (state->pi.c != NULL)          if (state->pi.c != NULL)
                 server_client_unref(state->pi.c);                  server_client_unref(state->pi.c);
           free((void *)state->pi.file);
         free(state->cmd);          free(state->cmd);
         free(state);          free(state);
 }  }

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61