# input_free

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

```c
void input_free(struct input_ctx *ictx)
```

## Parameters

- `ictx` (`struct input_ctx *`)

## Called by

- [`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#L167)
- [`spawn_pane`](/en/tmux/3.2a/reference/c-function-spawn_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/spawn.c#L253)
- [`window_pane_destroy`](/en/tmux/3.2a/reference/c-function-window-c-window_pane_destroy/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L905)

## Referenced by

- [`server_client_push_stderr`](/en/tmux/3.2a/reference/c-function-server_client_push_stderr/) (function)

## Referenced declarations

- [`input_ctx.input_buf`](/en/tmux/3.2a/reference/c-struct-input_ctx-input_buf/) (attribute)
- [`input_ctx`](/en/tmux/3.2a/reference/c-struct-input_ctx/) (struct)
- [`input_ctx.param_list`](/en/tmux/3.2a/reference/c-struct-input_ctx-param_list/) (attribute)
- [`input_ctx.param_list_len`](/en/tmux/3.2a/reference/c-struct-input_ctx-param_list_len/) (attribute)
- [`input_ctx.since_ground`](/en/tmux/3.2a/reference/c-struct-input_ctx-since_ground/) (attribute)
- [`input_ctx.timer`](/en/tmux/3.2a/reference/c-struct-input_ctx-timer/) (attribute)
- [`input_param.type`](/en/tmux/3.2a/reference/c-struct-input_param-type/) (attribute)
