aboutsummaryrefslogtreecommitdiff
path: root/libseat/backend
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2020-08-31 22:44:02 +0200
committerKenny Levinsen <kl@kl.wtf>2020-08-31 23:13:16 +0200
commit5b8117f3d4ad767e5ddb8e202c938bc2e0174ffb (patch)
tree33192ba1acf09f19ec7b9a35e3e96358ae25741d /libseat/backend
parentc9ce7c71aa80769033b556d1c486da81c2fda551 (diff)
client: Do not leak idle clients on exit
Diffstat (limited to 'libseat/backend')
-rw-r--r--libseat/backend/seatd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libseat/backend/seatd.c b/libseat/backend/seatd.c
index 400b357..fd424b5 100644
--- a/libseat/backend/seatd.c
+++ b/libseat/backend/seatd.c
@@ -599,7 +599,7 @@ static struct libseat *builtin_open_seat(struct libseat_seat_listener *listener,
if (poller_poll(&server.poller) == -1) {
log_errorf("Could not poll server socket: %s", strerror(errno));
res = 1;
- goto server_error;
+ break;
}
}
server_error: