# menu_free_cb

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

```c
void menu_free_cb(struct client *c, void *data)
```

## Parameters

- `c` (`struct client *`)
- `data` (`void *`)

## Called by

- [`popup_free_cb`](/en/tmux/3.7c/reference/c-function-popup-c-popup_free_cb/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L356)
- [`popup_resize_cb`](/en/tmux/3.7c/reference/c-function-popup-c-popup_resize_cb/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L380)

## Calls

- [`cmdq_continue`](/en/tmux/3.7c/reference/c-function-cmdq_continue/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/menu.c#L296)
- [`menu_free`](/en/tmux/3.7c/reference/c-function-menu_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/menu.c#L304)
- [`screen_free`](/en/tmux/3.7c/reference/c-function-screen_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/menu.c#L302)

## Referenced by

- [`menu_display`](/en/tmux/3.7c/reference/c-function-menu_display/) (function)

## Referenced declarations

- [`__unused`](/en/tmux/3.7c/reference/c-define-compat-h-__unused/) (constant)
- [`menu_data.border_style`](/en/tmux/3.7c/reference/c-struct-menu_data-border_style/) (attribute)
- [`menu_data.cb`](/en/tmux/3.7c/reference/c-struct-menu_data-cb/) (attribute)
- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`menu_data.data`](/en/tmux/3.7c/reference/c-struct-menu_data-data/) (attribute)
- [`menu_data.item`](/en/tmux/3.7c/reference/c-struct-menu_data-item/) (attribute)
- [`KEYC_NONE`](/en/tmux/3.7c/reference/c-enum-tmux-h-332237342172367247102064023371112372044056265234-keyc_none/) (constant)
- [`menu_data.menu`](/en/tmux/3.7c/reference/c-struct-menu_data-menu/) (attribute)
- [`menu_data.r`](/en/tmux/3.7c/reference/c-struct-menu_data-r/) (attribute)
- [`visible_ranges.ranges`](/en/tmux/3.7c/reference/c-struct-visible_ranges-ranges/) (attribute)
- [`menu_data.s`](/en/tmux/3.7c/reference/c-struct-menu_data-s/) (attribute)
- [`menu_data.selected_style`](/en/tmux/3.7c/reference/c-struct-menu_data-selected_style/) (attribute)
- [`menu_data.style`](/en/tmux/3.7c/reference/c-struct-menu_data-style/) (attribute)
