From ece58514b456527ee86220cab6787fe9e494ce5b Mon Sep 17 00:00:00 2001 From: Vincent Vanlaer Date: Sun, 1 Jul 2018 02:22:57 +0200 Subject: [PATCH] Close fd's obtained from logind --- backend/session/logind.c | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/session/logind.c b/backend/session/logind.c index 3a3cc57d..e01047e3 100644 --- a/backend/session/logind.c +++ b/backend/session/logind.c @@ -104,6 +104,7 @@ static void logind_release_device(struct wlr_session *base, int fd) { sd_bus_error_free(&error); sd_bus_message_unref(msg); + close(fd); } static bool logind_change_vt(struct wlr_session *base, unsigned vt) {