Move list removal to seat/client destroy
This commit is contained in:
parent
5b8117f3d4
commit
5d4036e9bd
3 changed files with 2 additions and 2 deletions
|
@ -89,6 +89,7 @@ void client_destroy(struct client *client) {
|
|||
}
|
||||
connection_close_fds(&client->connection);
|
||||
assert(linked_list_empty(&client->devices));
|
||||
linked_list_remove(&client->link);
|
||||
free(client);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue