aboutsummaryrefslogtreecommitdiff
path: root/seatd/seat.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/seat.c
parent5b8117f3d4ad767e5ddb8e202c938bc2e0174ffb (diff)
Move list removal to seat/client destroy
Diffstat (limited to 'seatd/seat.c')
-rw-r--r--seatd/seat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/seatd/seat.c b/seatd/seat.c
index fee727c..7d62173 100644
--- a/seatd/seat.c
+++ b/seatd/seat.c
@@ -44,6 +44,7 @@ void seat_destroy(struct seat *seat) {
}
assert(seat->curttyfd == -1);
+ linked_list_remove(&seat->link);
free(seat->seat_name);
free(seat);
}