commit | a9187853d44db41206b5d16a770d4db108972812 | [log] [tgz] |
---|---|---|
author | Derek Foreman <derekf@osg.samsung.com> | Tue Mar 06 17:38:13 2018 -0600 |
committer | Derek Foreman <derekf@osg.samsung.com> | Wed Mar 07 09:21:28 2018 -0600 |
tree | 11ea8b1fa43d48179636f5e4e1ef4882f699959f | |
parent | 97351f995c216eff33b02ade0bd63dd089c3af89 [diff] |
client: Don't inappropriatly close fds for zombie objects commit 239ba39331420f953de35c337ae57db35573f9cb which was intended to stop leaking fds in events for zombie objects didn't notice that passing 0 to wl_connection_close_fds_in() would still close fds. Test the fd count before calling. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Daniel Stone <daniels@collabora.com>