# job_free

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/job.c#L204
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-job_free/

```c
void job_free(struct job *job)
```

## Parameters

- `job` (`struct job *`)

## Called by

- [`format_job_get`](/en/tmux/3.2a/reference/c-function-format-c-format_job_get/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format.c#L394)
- [`format_job_tidy`](/en/tmux/3.2a/reference/c-function-format-c-format_job_tidy/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format.c#L429)
- [`job_check_died`](/en/tmux/3.2a/reference/c-function-job_check_died/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/job.c#L316)
- [`job_error_callback`](/en/tmux/3.2a/reference/c-function-job-c-job_error_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/job.c#L284)
- [`popup_free_cb`](/en/tmux/3.2a/reference/c-function-popup-c-popup_free_cb/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/popup.c#L166)

## Calls

- [`log_debug`](/en/tmux/3.2a/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/job.c#L206)

## Referenced declarations

- [`job.cmd`](/en/tmux/3.2a/reference/c-struct-job-cmd/) (attribute)
- [`job.data`](/en/tmux/3.2a/reference/c-struct-job-data/) (attribute)
- [`job.event`](/en/tmux/3.2a/reference/c-struct-job-event/) (attribute)
- [`job.fd`](/en/tmux/3.2a/reference/c-struct-job-fd/) (attribute)
- [`job.freecb`](/en/tmux/3.2a/reference/c-struct-job-freecb/) (attribute)
- [`job`](/en/tmux/3.2a/reference/c-struct-job/) (struct)
- [`job.pid`](/en/tmux/3.2a/reference/c-struct-job-pid/) (attribute)
