# cmd_if_shell_free

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-if-shell.c#L178
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-cmd-if-shell-c-cmd_if_shell_free/

```c
static void cmd_if_shell_free(void *)
```

## Parameters

- `data` (`void *`)

## Called by

- [`cmd_if_shell_exec`](/en/tmux/3.7c/reference/c-function-cmd-if-shell-c-cmd_if_shell_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-if-shell.c#L127)

## Calls

- [`args_make_commands_free`](/en/tmux/3.7c/reference/c-function-args_make_commands_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-if-shell.c#L186)
- [`server_client_unref`](/en/tmux/3.7c/reference/c-function-server_client_unref/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-if-shell.c#L183)

## Referenced declarations

- [`cmd_if_shell_data.client`](/en/tmux/3.7c/reference/c-struct-cmd_if_shell_data-client/) (attribute)
- [`cmd_if_shell_data.cmd_else`](/en/tmux/3.7c/reference/c-struct-cmd_if_shell_data-cmd_else/) (attribute)
- [`cmd_if_shell_data.cmd_if`](/en/tmux/3.7c/reference/c-struct-cmd_if_shell_data-cmd_if/) (attribute)
