# input_free

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L888
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-input_free/

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

## Parameters

- `ictx` (`struct input_ctx *`)

## Called by

- [`popup_free`](/en/tmux/latest/reference/c-function-popup-c-popup_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L113)
- [`spawn_pane`](/en/tmux/latest/reference/c-function-spawn_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/spawn.c#L262)
- [`window_copy_free`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L550)
- [`window_pane_destroy`](/en/tmux/latest/reference/c-function-window-c-window_pane_destroy/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1107)

## Calls

- [`input_free_request`](/en/tmux/latest/reference/c-function-input-c-input_free_request/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L899)
- [`screen_write_stop_sync`](/en/tmux/latest/reference/c-function-screen_write_stop_sync/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L906)

## Referenced declarations

- [`input_request.entry`](/en/tmux/latest/reference/c-struct-input_request-entry/) (attribute)
- [`input_ctx.ground_timer`](/en/tmux/latest/reference/c-struct-input_ctx-ground_timer/) (attribute)
- [`input_request.ictx`](/en/tmux/latest/reference/c-struct-input_request-ictx/) (attribute)
- [`input_ctx.input_buf`](/en/tmux/latest/reference/c-struct-input_ctx-input_buf/) (attribute)
- [`input_ctx`](/en/tmux/latest/reference/c-struct-input_ctx/) (struct)
- [`input_ctx.param_list`](/en/tmux/latest/reference/c-struct-input_ctx-param_list/) (attribute)
- [`input_ctx.param_list_len`](/en/tmux/latest/reference/c-struct-input_ctx-param_list_len/) (attribute)
- [`input_ctx.request_timer`](/en/tmux/latest/reference/c-struct-input_ctx-request_timer/) (attribute)
- [`input_ctx.requests`](/en/tmux/latest/reference/c-struct-input_ctx-requests/) (attribute)
- [`input_ctx.since_ground`](/en/tmux/latest/reference/c-struct-input_ctx-since_ground/) (attribute)
- [`input_param.type`](/en/tmux/latest/reference/c-struct-input_param-type/) (attribute)
- [`input_ctx.wp`](/en/tmux/latest/reference/c-struct-input_ctx-wp/) (attribute)
