diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-08-31 22:00:15 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2020-08-31 22:04:32 +0200 |
commit | 704d1ccd0b9e0da1f3555a07ba9184927983f812 (patch) | |
tree | 74e7ed84de59d6384f0d69b05920b43ce38398f7 /seatd | |
parent | aef19fe383a70f47fa83a70cfce70fa4a713c1d1 (diff) |
server: Remember to remove seat from list
Diffstat (limited to 'seatd')
-rw-r--r-- | seatd/server.c | 1 |
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); |