diff options
author | Vincent Vanlaer <vincent.vanlaer@skynet.be> | 2018-07-01 02:22:57 +0200 |
---|---|---|
committer | Vincent Vanlaer <vincent.vanlaer@skynet.be> | 2018-07-01 02:22:57 +0200 |
commit | ece58514b456527ee86220cab6787fe9e494ce5b (patch) | |
tree | 2f3c376212d63fedd4c915b4380ba84d3dc00b77 /backend/session/logind.c | |
parent | 02dfa9101ec7fd8328ed329d2f2faa815b1ad61c (diff) |
Close fd's obtained from logind
Diffstat (limited to 'backend/session/logind.c')
-rw-r--r-- | backend/session/logind.c | 1 |
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) { |