piface/libmcp23s17 — pull request #6 by xaqq (2014-11-05 17:47:54+00:00)
Title: Fix leaking file handle

Hello,

This commit make sure we release the file handle in the case the call `open()` succeeded but subsequent calls to `ioctl()` failed.

It is not *that* important, but coverity scan spotted that and well, why not fix it.