diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-06-30 17:49:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-30 17:49:45 -0700 |
commit | 07209d062c919225af70df2caa75fffe5921cb97 (patch) | |
tree | 01504106564bd8822f45f0b6f95966e8bf0379c8 /backend/session | |
parent | 015ebc5750c4224d4796bba0e6deeb20c8d8a777 (diff) | |
parent | ece58514b456527ee86220cab6787fe9e494ce5b (diff) |
Merge pull request #1104 from VincentVanlaer/logind-fd-leak
Close fd's obtained from logind
Diffstat (limited to 'backend/session')
-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) { |