Same problem as with outgoing FDs. We need to close these on shutdown,
otherwise we leak open file descriptors.

Signed-off-by: David Herrmann <[email protected]>
---
 src/connection.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/connection.c b/src/connection.c
index 355fd54..8264470 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -190,6 +190,7 @@ void
 wl_connection_destroy(struct wl_connection *connection)
 {
        close_fds(&connection->fds_out, -1);
+       close_fds(&connection->fds_in, -1);
        close(connection->fd);
        free(connection);
 }
-- 
1.7.12.2

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to