# server_client_free

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L527
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-server-client-c-server_client_free/

```c
static void server_client_free(int, short, void *)
```

## Parameters

- `fd` (`int`)
- `events` (`short`)
- `arg` (`void *`)

## Calls

- [`cmdq_free`](/en/tmux/3.7c/reference/c-function-cmdq_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L533)
- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L531)

## Referenced by

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

## Referenced declarations

- [`__unused`](/en/tmux/3.7c/reference/c-define-compat-h-__unused/) (constant)
- [`client.name`](/en/tmux/3.7c/reference/c-struct-client-name/) (attribute)
- [`client.queue`](/en/tmux/3.7c/reference/c-struct-client-queue/) (attribute)
- [`client.references`](/en/tmux/3.7c/reference/c-struct-client-references/) (attribute)
- [`client.user`](/en/tmux/3.7c/reference/c-struct-client-user/) (attribute)
