aboutsummaryrefslogtreecommitdiff
path: root/seatd/client.c
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2020-09-01 00:33:20 +0200
committerKenny Levinsen <kl@kl.wtf>2020-09-01 00:33:20 +0200
commit5d4036e9bd7891bc7f0906ac1f50d513f9e3a4de (patch)
tree0cf64a4475ce7b72054ef390fb25fb94059925d5 /seatd/client.c
parent5b8117f3d4ad767e5ddb8e202c938bc2e0174ffb (diff)
Move list removal to seat/client destroy
Diffstat (limited to 'seatd/client.c')
-rw-r--r--seatd/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/seatd/client.c b/seatd/client.c
index bd46a86..8562c8b 100644
--- a/seatd/client.c
+++ b/seatd/client.c
@@ -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);
}