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

Diff for /src/usr.bin/tmux/cmd-if-shell.c between version 1.53 and 1.54

version 1.53, 2017/04/21 14:01:19 version 1.54, 2017/04/22 06:27:15
Line 120 
Line 120 
                 cdata->cmd_else = NULL;                  cdata->cmd_else = NULL;
   
         cdata->client = item->client;          cdata->client = item->client;
         cdata->client->references++;          if (cdata->client != NULL)
                   cdata->client->references++;
   
         if (!args_has(args, 'b'))          if (!args_has(args, 'b'))
                 cdata->item = item;                  cdata->item = item;
Line 193 
Line 194 
 {  {
         struct cmd_if_shell_data        *cdata = data;          struct cmd_if_shell_data        *cdata = data;
   
         server_client_unref(cdata->client);          if (cdata->client != NULL)
                   server_client_unref(cdata->client);
   
         free(cdata->cmd_else);          free(cdata->cmd_else);
         free(cdata->cmd_if);          free(cdata->cmd_if);

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54