# cmd_command_prompt_free

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-command-prompt.c#L185
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-cmd-command-prompt-c-cmd_command_prompt_free/

```c
static void cmd_command_prompt_free(void *)
```

## Parameters

- `data` (`void *`)

## Referenced by

- [`cmd_command_prompt_exec`](/en/tmux/3.2a/reference/c-function-cmd-command-prompt-c-cmd_command_prompt_exec/) (function)

## Referenced declarations

- [`cmd_command_prompt_cdata.inputs`](/en/tmux/3.2a/reference/c-struct-cmd_command_prompt_cdata-inputs/) (attribute)
- [`cmd_command_prompt_cdata.prompts`](/en/tmux/3.2a/reference/c-struct-cmd_command_prompt_cdata-prompts/) (attribute)
- [`cmd_command_prompt_cdata.template`](/en/tmux/3.2a/reference/c-struct-cmd_command_prompt_cdata-template/) (attribute)
