# args_make_commands_free

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L848
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-args_make_commands_free/

```c
void args_make_commands_free(struct args_command_state *state)
```

## Parameters

- `state` (`struct args_command_state *`)

## Called by

- [`args_make_commands_now`](/en/tmux/3.7c/reference/c-function-args_make_commands_now/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L755)
- [`cmd_command_prompt_free`](/en/tmux/3.7c/reference/c-function-cmd-command-prompt-c-cmd_command_prompt_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-command-prompt.c#L250)
- [`cmd_display_panes_free`](/en/tmux/3.7c/reference/c-function-cmd-display-panes-c-cmd_display_panes_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L248)
- [`cmd_if_shell_free`](/en/tmux/3.7c/reference/c-function-cmd-if-shell-c-cmd_if_shell_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-if-shell.c#L186)
- [`cmd_run_shell_free`](/en/tmux/3.7c/reference/c-function-cmd-run-shell-c-cmd_run_shell_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L307)

## Calls

- [`cmd_list_free`](/en/tmux/3.7c/reference/c-function-cmd_list_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L851)
- [`server_client_unref`](/en/tmux/3.7c/reference/c-function-server_client_unref/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L853)

## Referenced declarations

- [`args_command_state`](/en/tmux/3.7c/reference/c-struct-args_command_state/) (struct)
- [`cmd_parse_input.c`](/en/tmux/3.7c/reference/c-struct-cmd_parse_input-c/) (attribute)
- [`args_command_state.cmd`](/en/tmux/3.7c/reference/c-struct-args_command_state-cmd/) (attribute)
- [`args_command_state.cmdlist`](/en/tmux/3.7c/reference/c-struct-args_command_state-cmdlist/) (attribute)
- [`cmd_parse_input.file`](/en/tmux/3.7c/reference/c-struct-cmd_parse_input-file/) (attribute)
- [`args_command_state.pi`](/en/tmux/3.7c/reference/c-struct-args_command_state-pi/) (attribute)
