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

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

version 1.60, 2015/11/18 14:27:44 version 1.61, 2015/12/08 01:10:31
Line 123 
Line 123 
         s->environ = environ_create();          s->environ = environ_create();
         if (env != NULL)          if (env != NULL)
                 environ_copy(env, s->environ);                  environ_copy(env, s->environ);
   
         s->options = options_create(global_s_options);          s->options = options_create(global_s_options);
           s->hooks = hooks_create(global_hooks);
   
         s->tio = NULL;          s->tio = NULL;
         if (tio != NULL) {          if (tio != NULL) {
Line 189 
Line 191 
   
         if (s->references == 0) {          if (s->references == 0) {
                 environ_free(s->environ);                  environ_free(s->environ);
   
                 options_free(s->options);                  options_free(s->options);
                   hooks_free(s->hooks);
   
                 free(s->name);                  free(s->name);
                 free(s);                  free(s);

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