Commit 8f5acc2f authored by Derek Foreman's avatar Derek Foreman Committed by Pekka Paalanen

logind: actually close fd in weston_launcher_close()

You had one job...
Signed-off-by: default avatarDerek Foreman <derekf@osg.samsung.com>
Acked-by: David Herrmann <dh.herrmann@gmail.com> [implicit from v1
comment]
Reviewed-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent b0f5a25d
......@@ -190,7 +190,7 @@ void
weston_launcher_close(struct weston_launcher *launcher, int fd)
{
if (launcher->logind)
return weston_logind_close(launcher->logind, fd);
weston_logind_close(launcher->logind, fd);
close(fd);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment