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>
parent
c332c10c
Please register or sign in to comment
it can fail and in that case ->release() will *not* be called...
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>