i2c.c: Fix resource leak when I2C_FUNCS ioctl fails
authorBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 20 Jan 2015 17:12:57 +0000 (17:12 +0000)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 20 Jan 2015 17:15:13 +0000 (17:15 +0000)
commite3dba949b654d3ecd0e26254bf2609e2de4ca0fb
tree851f616dd9855328e1ad9517dd9c0a54ab9f68d2
parent25bd897ec5935b1179ff0cde10540403c3612b9f
i2c.c: Fix resource leak when I2C_FUNCS ioctl fails

This isn't a true failure condition just assume we have no features and carry
on

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/i2c/i2c.c