commit | 971a9e7873e43f3bd059b340e1e9bfa65b384e47 | [log] [tgz] |
---|---|---|
author | Derek Foreman <derekf@osg.samsung.com> | Thu Apr 13 11:51:43 2017 -0500 |
committer | Daniel Stone <daniels@collabora.com> | Mon Dec 04 22:21:37 2017 +0000 |
tree | 62dc1b669573353b765bec4a98951c180b7bff4d | |
parent | c3ff179a953213ed4dd91b96bd1c093b4a7d460e [diff] |
connection: close_fds() should only remove fds it closed from the buffer All current callers close all fds, so this has gone unnoticed, but if we close less than all fds with close_fds() we leak all the unclosed ones and ruin further event demarshalling. A future patch will close less than the full buffer's worth of fds, so this is now noticed. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Daniel Stone <daniels@collabora.com>