]> git.baikalelectronics.ru Git - kernel.git/commit
[media] vim2m: Clean up file handle in open() error path
authorSantosh Kumar Singh <kumar.san1093@gmail.com>
Mon, 19 Dec 2016 16:12:46 +0000 (14:12 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 09:44:26 +0000 (07:44 -0200)
commit670958adb3ab9fcac1dd55e0f6f3748e466cd8cc
tree21f37dc459ec45905316beb394c5dff8162522f1
parentf8891af767b7339a042517d83ff31c35b43c66a3
[media] vim2m: 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/platform/vim2m.c