]> git.baikalelectronics.ru Git - kernel.git/commit
[media] ivtv: Clean up file handle in open() error path
authorSantosh Kumar Singh <kumar.san1093@gmail.com>
Mon, 19 Dec 2016 17:12:07 +0000 (15:12 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 09:45:47 +0000 (07:45 -0200)
commit01a73d4dde9612f70468cd6fc624b07fbc442cfb
tree78003af43cb8c4ba37a79d7bdc1ed4853bb55ad8
parentd8dfbc930b4d9005a0797d3921e93c81d9236a5a
[media] ivtv: Clean up file handle in open() error path

Fix to avoid possible exit file handle in error paths.

Signed-off-by: Santosh Kumar Singh <kumar.san1093@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/ivtv/ivtv-alsa-pcm.c