diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-09-01 00:33:20 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2020-09-01 00:33:20 +0200 |
commit | 5d4036e9bd7891bc7f0906ac1f50d513f9e3a4de (patch) | |
tree | 0cf64a4475ce7b72054ef390fb25fb94059925d5 /seatd/seat.c | |
parent | 5b8117f3d4ad767e5ddb8e202c938bc2e0174ffb (diff) |
Move list removal to seat/client destroy
Diffstat (limited to 'seatd/seat.c')
-rw-r--r-- | seatd/seat.c | 1 |
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); } |