# window_tree_command_free

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-tree.c#L1090
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-window-tree-c-window_tree_command_free/

```c
static void window_tree_command_free(void *modedata)
```

## Parameters

- `modedata` (`void *`)

## Calls

- [`window_tree_destroy`](/en/tmux/3.7c/reference/c-function-window-tree-c-window_tree_destroy/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-tree.c#L1094)

## Referenced by

- [`window_tree_key`](/en/tmux/3.7c/reference/c-function-window-tree-c-window_tree_key/) (function)

## Referenced declarations

- [`window_tree_modedata.data`](/en/tmux/3.7c/reference/c-struct-window_tree_modedata-data/) (attribute)
