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

Fix to avoid possible memory leak and 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/usb/tm6000/tm6000-video.c