connection: close pending outgoing fds on shutdown
authorDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 11 Oct 2012 21:37:45 +0000 (23:37 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 15 Oct 2012 20:12:46 +0000 (16:12 -0400)
commitcda89f3a42789771907a9d6a3159f7c22c99985e
tree4325d9e501bbf89522802b30c698653744eb8ee3
parentc13a65fd202d6e7d22e5ea0e334b50135a1d66a8
connection: close pending outgoing fds on shutdown

When destroying a wl_connection object, there might still be data in the
queue. We would leak open file-descriptors so we must close them.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/connection.c