aboutsummaryrefslogtreecommitdiff
path: root/seatd/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'seatd/server.c')
-rw-r--r--seatd/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/seatd/server.c b/seatd/server.c
index 4562a71..9a71d66 100644
--- a/seatd/server.c
+++ b/seatd/server.c
@@ -53,6 +53,7 @@ void server_finish(struct server *server) {
assert(server);
while (!linked_list_empty(&server->seats)) {
struct seat *seat = (struct seat *)server->seats.next;
+ linked_list_remove(&seat->link);
seat_destroy(seat);
}
poller_finish(&server->poller);