linux/drivers/media/platform/marvell-ccic
Alexey Khoroshilov 90ca75fd19 [media] marvell-ccic: fix memory leak on failure path in cafe_smbus_setup()
If i2c_add_adapter() fails, adap is not deallocated.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-05-01 07:50:54 -03:00
..
cafe-driver.c [media] marvell-ccic: fix memory leak on failure path in cafe_smbus_setup() 2015-05-01 07:50:54 -03:00
Kconfig [media] marvell-ccic: MMP_CAMERA no longer builds 2015-02-02 13:35:27 -02:00
Makefile
mcam-core.c [media] marvell-ccic: fix V4L2_PIX_FMT_SBGGR8 support 2015-05-01 07:50:28 -03:00
mcam-core.h [media] marvell-ccic: use vb2 helpers and core locking 2015-05-01 07:44:08 -03:00
mmp-driver.c [media] marvell-ccic: fill in bus_info 2015-05-01 07:39:22 -03:00