# window_customize_destroy

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

```c
static void window_customize_destroy(struct window_customize_modedata *data)
```

## Parameters

- `data` (`struct window_customize_modedata *`)

## Called by

- [`window_customize_free`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_free/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L930)
- [`window_customize_free_callback`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_free_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L944)
- [`window_customize_free_item_callback`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_free_item_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L954)

## Calls

- [`window_customize_free_item`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_free_item/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L912)

## Referenced declarations

- [`window_customize_modedata.format`](/en/tmux/3.2a/reference/c-struct-window_customize_modedata-format/) (attribute)
- [`window_customize_modedata.item_list`](/en/tmux/3.2a/reference/c-struct-window_customize_modedata-item_list/) (attribute)
- [`window_customize_modedata.item_size`](/en/tmux/3.2a/reference/c-struct-window_customize_modedata-item_size/) (attribute)
- [`window_customize_modedata.references`](/en/tmux/3.2a/reference/c-struct-window_customize_modedata-references/) (attribute)
- [`window_customize_modedata`](/en/tmux/3.2a/reference/c-struct-window_customize_modedata/) (struct)
