Move list removal to seat/client destroy

This commit is contained in:
Kenny Levinsen 2020-09-01 00:33:20 +02:00
parent 5b8117f3d4
commit 5d4036e9bd
3 changed files with 2 additions and 2 deletions

View file

@ -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);
}