# layout_free_cell

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

```c
void layout_free_cell(struct layout_cell *lc)
```

## Parameters

- `lc` (`struct layout_cell *`)

## Called by

- [`layout_construct`](/en/tmux/3.2a/reference/c-function-layout-custom-c-layout_construct/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/layout-custom.c#L355)
- [`layout_destroy_cell`](/en/tmux/3.2a/reference/c-function-layout_destroy_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/layout.c#L439)
- [`layout_free`](/en/tmux/3.2a/reference/c-function-layout_free/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/layout.c#L491)
- [`layout_free_cell`](/en/tmux/3.2a/reference/c-function-layout_free_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/layout.c#L83)
- [`layout_parse`](/en/tmux/3.2a/reference/c-function-layout_parse/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/layout-custom.c#L227)
- [`window_destroy`](/en/tmux/3.2a/reference/c-function-window-c-window_destroy/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L345)

## Calls

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

## Referenced by

- [`server_client_push_stderr`](/en/tmux/3.2a/reference/c-function-server_client_push_stderr/) (function)

## Referenced declarations

- [`layout_cell.cells`](/en/tmux/3.2a/reference/c-struct-layout_cell-cells/) (attribute)
- [`layout_cell.entry`](/en/tmux/3.2a/reference/c-struct-layout_cell-entry/) (attribute)
- [`layout_cell`](/en/tmux/3.2a/reference/c-struct-layout_cell/) (struct)
- [`window_pane.layout_cell`](/en/tmux/3.2a/reference/c-struct-window_pane-layout_cell/) (attribute)
- [`LAYOUT_LEFTRIGHT`](/en/tmux/3.2a/reference/c-enum-layout_type-layout_leftright/) (constant)
- [`LAYOUT_TOPBOTTOM`](/en/tmux/3.2a/reference/c-enum-layout_type-layout_topbottom/) (constant)
- [`LAYOUT_WINDOWPANE`](/en/tmux/3.2a/reference/c-enum-layout_type-layout_windowpane/) (constant)
- [`layout_cell.type`](/en/tmux/3.2a/reference/c-struct-layout_cell-type/) (attribute)
- [`layout_cell.wp`](/en/tmux/3.2a/reference/c-struct-layout_cell-wp/) (attribute)
