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

Diff for /src/usr.bin/tmux/job.c between version 1.4 and 1.5

version 1.4, 2009/10/11 07:30:07 version 1.5, 2009/10/11 08:58:05
Line 70 
Line 70 
         while (!RB_EMPTY(jobs)) {          while (!RB_EMPTY(jobs)) {
                 job = RB_ROOT(jobs);                  job = RB_ROOT(jobs);
                 RB_REMOVE(jobs, jobs, job);                  RB_REMOVE(jobs, jobs, job);
                 SLIST_REMOVE(&all_jobs, job, job, lentry);  
                 job_free(job);                  job_free(job);
         }          }
 }  }
Line 120 
Line 119 
 {  {
         job_kill(job);          job_kill(job);
   
           SLIST_REMOVE(&all_jobs, job, job, lentry);
         xfree(job->cmd);          xfree(job->cmd);
   
         if (job->freefn != NULL && job->data != NULL)          if (job->freefn != NULL && job->data != NULL)

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5