[PATCH weston 1/2] logind: actually close fd in weston_logind_close()
Derek Foreman
derekf at osg.samsung.com
Thu Apr 30 09:20:57 PDT 2015
You had one job...
Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
---
src/logind-util.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/logind-util.c b/src/logind-util.c
index e4e20eb..1327b48 100644
--- a/src/logind-util.c
+++ b/src/logind-util.c
@@ -248,6 +248,8 @@ weston_logind_close(struct weston_logind *wl, int fd)
weston_logind_release_device(wl, major(st.st_rdev),
minor(st.st_rdev));
+
+ close(fd);
}
WL_EXPORT void
--
2.1.4
More information about the wayland-devel
mailing list