aboutsummaryrefslogtreecommitdiff
path: root/seatd/client.c
diff options
context:
space:
mode:
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);
}