logind: actually close fd in weston_launcher_close()
You had one job... Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Acked-by: David Herrmann <dh.herrmann@gmail.com> [implicit from v1 comment] Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
b0f5a25d16
commit
8f5acc2f3a
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue