# popup_free

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

```c
static void popup_free(struct popup_data *pd)
```

## Parameters

- `pd` (`struct popup_data *`)

## Called by

- [`popup_display`](/en/tmux/3.7c/reference/c-function-popup_display/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L868)
- [`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#L368)

## Calls

- [`colour_palette_free`](/en/tmux/3.7c/reference/c-function-colour_palette_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L119)
- [`input_free`](/en/tmux/3.7c/reference/c-function-input_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L113)
- [`job_free`](/en/tmux/3.7c/reference/c-function-job_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L112)
- [`screen_free`](/en/tmux/3.7c/reference/c-function-screen_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L118)
- [`server_client_unref`](/en/tmux/3.7c/reference/c-function-server_client_unref/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L109)

## Referenced declarations

- [`popup_data.border_style`](/en/tmux/3.7c/reference/c-struct-popup_data-border_style/) (attribute)
- [`popup_data.c`](/en/tmux/3.7c/reference/c-struct-popup_data-c/) (attribute)
- [`popup_data.ictx`](/en/tmux/3.7c/reference/c-struct-popup_data-ictx/) (attribute)
- [`popup_data.job`](/en/tmux/3.7c/reference/c-struct-popup_data-job/) (attribute)
- [`popup_data.or`](/en/tmux/3.7c/reference/c-struct-popup_data-or/) (attribute)
- [`popup_data.palette`](/en/tmux/3.7c/reference/c-struct-popup_data-palette/) (attribute)
- [`popup_data`](/en/tmux/3.7c/reference/c-struct-popup_data/) (struct)
- [`popup_data.r`](/en/tmux/3.7c/reference/c-struct-popup_data-r/) (attribute)
- [`visible_ranges.ranges`](/en/tmux/3.7c/reference/c-struct-visible_ranges-ranges/) (attribute)
- [`popup_data.s`](/en/tmux/3.7c/reference/c-struct-popup_data-s/) (attribute)
- [`popup_data.style`](/en/tmux/3.7c/reference/c-struct-popup_data-style/) (attribute)
- [`popup_data.title`](/en/tmux/3.7c/reference/c-struct-popup_data-title/) (attribute)
