If we can't add file to I/O notify list, close the fd so we don't leak. Fixes IDLE leaking fds with all but Linux.
If we can't add file to I/O notify list, close the fd so we don't leak.
Fixes IDLE leaking fds with all but Linux.

--HG--
branch : HEAD

dscho/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,dscho/dovecot,jkerihuel/dovecot,jkerihuel/dovecot,jkerihuel/dovecot,dscho/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jkerihuel/dovecot,dscho/dovecot,dscho/dovecot,jwm/dovecot-notmuch,jkerihuel/dovecot