# options_value_free

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L124
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-options-c-options_value_free/

```c
static void options_value_free(struct options_entry *o, union options_value *ov)
```

## Parameters

- `o` (`struct options_entry *`)
- `ov` (`union options_value *`)

## Called by

- [`options_array_free`](/en/tmux/3.2a/reference/c-function-options-c-options_array_free/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L391)
- [`options_array_set`](/en/tmux/3.2a/reference/c-function-options_array_set/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L463)
- [`options_remove`](/en/tmux/3.2a/reference/c-function-options-c-options_remove/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L344)

## Calls

- [`cmd_list_free`](/en/tmux/3.2a/reference/c-function-cmd_list_free/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L129)

## Referenced declarations

- [`options_value.cmdlist`](/en/tmux/3.2a/reference/c-union-options_value-cmdlist/) (attribute)
- [`options_entry`](/en/tmux/3.2a/reference/c-struct-options_entry/) (struct)
- [`OPTIONS_IS_COMMAND`](/en/tmux/3.2a/reference/c-define-options-c-options_is_command/) (constant)
- [`OPTIONS_IS_STRING`](/en/tmux/3.2a/reference/c-define-options-c-options_is_string/) (constant)
- [`options_value`](/en/tmux/3.2a/reference/c-union-options_value/) (union)
- [`options_value.string`](/en/tmux/3.2a/reference/c-union-options_value-string/) (attribute)
