Return to job.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.25, 2011/01/26 01:54:56 | version 1.26, 2012/01/29 02:22:11 | ||
---|---|---|---|
|
|
||
if (job->pid != -1) | if (job->pid != -1) | ||
kill(job->pid, SIGTERM); | kill(job->pid, SIGTERM); | ||
if (job->fd != -1) | |||
close(job->fd); | |||
if (job->event != NULL) | if (job->event != NULL) | ||
bufferevent_free(job->event); | bufferevent_free(job->event); | ||
if (job->fd != -1) | |||
close(job->fd); | |||
xfree(job); | xfree(job); | ||
} | } |