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

Diff for /src/usr.bin/tmux/cmd-run-shell.c between version 1.11 and 1.12

version 1.11, 2011/01/26 01:54:56 version 1.12, 2012/07/10 11:53:01
Line 20 
Line 20 
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/wait.h>  #include <sys/wait.h>
   
   #include <stdlib.h>
 #include <string.h>  #include <string.h>
   
 #include "tmux.h"  #include "tmux.h"
Line 101 
Line 102 
                 ctx->print(ctx, "%s", line);                  ctx->print(ctx, "%s", line);
                 lines++;                  lines++;
   
                 xfree(line);                  free(line);
         }          }
   
         cmd = cdata->cmd;          cmd = cdata->cmd;
Line 119 
Line 120 
                         ctx->print(ctx, "%s", msg);                          ctx->print(ctx, "%s", msg);
                 else                  else
                         ctx->info(ctx, "%s", msg);                          ctx->info(ctx, "%s", msg);
                 xfree(msg);                  free(msg);
         }          }
 }  }
   
Line 136 
Line 137 
         if (ctx->curclient != NULL)          if (ctx->curclient != NULL)
                 ctx->curclient->references--;                  ctx->curclient->references--;
   
         xfree(cdata->cmd);          free(cdata->cmd);
         xfree(cdata);          free(cdata);
 }  }

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12