Commit f981d695 authored by Derek Foreman's avatar Derek Foreman Committed by Pekka Paalanen

logind: actually close fd in launcher_logind_close

We still need to close fds passed to us - or we leak quite a few fds
on VC switch.

Regression, originally fixed in 8f5acc2f
and re-broken in commit 72dea06d
but only for the logind launcher.
Signed-off-by: default avatarDerek Foreman <>
Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <>
parent c623902e
......@@ -216,6 +216,7 @@ launcher_logind_close(struct weston_launcher *launcher, int fd)
int r;
r = fstat(fd, &st);
if (r < 0) {
weston_log("logind: cannot fstat fd: %m\n");
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment