# window_client_free

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-client.c#L324
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-window-client-c-window_client_free/

```c
static void window_client_free(struct window_mode_entry *)
```

## Parameters

- `wme` (`struct window_mode_entry *`)

## Calls

- [`mode_tree_free`](/en/tmux/3.2a/reference/c-function-mode_tree_free/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-client.c#L332)
- [`window_client_free_item`](/en/tmux/3.2a/reference/c-function-window-client-c-window_client_free_item/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-client.c#L335)

## Referenced by

- [`window_client_mode`](/en/tmux/3.2a/reference/c-variable-window_client_mode/) (attribute)

## Referenced declarations

- [`window_client_modedata.data`](/en/tmux/3.2a/reference/c-struct-window_client_modedata-data/) (attribute)
- [`window_mode_entry.data`](/en/tmux/3.2a/reference/c-struct-window_mode_entry-data/) (attribute)
- [`window_mode_entry`](/en/tmux/3.2a/reference/c-struct-window_mode_entry/) (struct)
