linux_dsm_epyc7002/drivers/media
Young Xiao 64f883cd98 media: davinci: vpif_capture: fix memory leak in vpif_probe()
If vpif_probe() fails on v4l2_device_register() and vpif_probe_complete(),
then memory allocated at initialize_vpif() for global vpif_obj.dev[i]
become unreleased.

The patch adds deallocation of vpif_obj.dev[i] on the error path.

Signed-off-by: Young Xiao <92siuyang@gmail.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-06-12 10:46:06 -04:00
..
cec media: cec-adap: fix regression in ping sanity check 2019-05-29 10:38:11 -04:00
common Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
dvb-core Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
dvb-frontends Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
firewire treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
i2c media: drivers: media: i2c: don't enable if CONFIG_DRM_I2C_ADV7511=n 2019-06-12 10:43:37 -04:00
mc Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mmc treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pci media: drivers: media: i2c: don't enable if CONFIG_DRM_I2C_ADV7511=n 2019-06-12 10:43:37 -04:00
platform media: davinci: vpif_capture: fix memory leak in vpif_probe() 2019-06-12 10:46:06 -04:00
radio Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
rc Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
spi Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
tuners Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
usb media: uvcvideo: Fix access to uninitialized fields on probe error 2019-06-11 12:22:21 -04:00
v4l2-core Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
Kconfig media: move drivers/media/media-* to drivers/media/mc/mc-* 2019-05-28 12:15:46 -04:00
Makefile media: move drivers/media/media-* to drivers/media/mc/mc-* 2019-05-28 12:15:46 -04:00