aboutsummaryrefslogtreecommitdiff
path: root/backend/session
diff options
context:
space:
mode:
Diffstat (limited to 'backend/session')
-rw-r--r--backend/session/logind.c1
1 files changed, 1 insertions, 0 deletions
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) {