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>
dev
Derek Foreman 10 years ago committed by Pekka Paalanen
parent b0f5a25d16
commit 8f5acc2f3a
  1. 2
      src/launcher-util.c

@ -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…
Cancel
Save