]> git.karo-electronics.de Git - mv-sheeva.git/commit
iio: fix a leak due to improper use of anon_inode_getfd()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 21 Nov 2011 22:25:37 +0000 (17:25 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 21 Nov 2011 22:25:37 +0000 (17:25 -0500)
commitb46413367961c2e8bd827e067a231be982aaeee2
tree8f3249e7cc9d85ea3c36cdbd2c77729aa34627e9
parentc332c10c01d8d31f2eba9abc04b0fc3d62610ed8
iio: fix a leak due to improper use of anon_inode_getfd()

it can fail and in that case ->release() will *not* be called...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/iio/industrialio-core.c