linux/drivers/media/platform
Gaosheng Cui 7acd650a04 media: ti: cal: fix possible memory leak in cal_ctx_create()
The memory of ctx is allocated in cal_ctx_create(), but it will
not be freed when cal_ctx_v4l2_init() fails, so add kfree() when
cal_ctx_v4l2_init() fails to fix it.

Fixes: d68a94e98a ("media: ti-vpe: cal: Split video device initialization and registration")
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-01-22 09:24:40 +01:00
..
allegro-dvt
amlogic media: platform: fix some double free in meson-ge2d and mtk-jpeg and s5p-mfc 2022-08-30 15:20:49 +02:00
amphion media: amphion: lock and check m2m_ctx in event handler 2022-11-25 11:27:04 +00:00
aspeed media: Add dependency on ARCH_ASPEED 2022-11-25 11:19:17 +00:00
atmel media: atmel: atmel-isc: move to staging 2022-11-25 07:48:31 +00:00
cadence media: cadence: cdns-csi2tx: Use mipi-csi2.h 2022-05-13 11:02:20 +02:00
chips-media media: coda: Add check for kmalloc 2022-12-07 17:58:47 +01:00
intel media: avoid use of 'videobuf' 2022-08-29 16:27:18 +02:00
marvell media: avoid use of 'videobuf' 2022-08-29 16:27:18 +02:00
mediatek media: Switch to use dev_err_probe() helper 2022-12-07 17:58:46 +01:00
microchip media: microchip: microchip-isc: move media_pipeline_* to (un)prepare cb 2022-11-25 07:47:48 +00:00
nvidia media: tegra-vde: Prepare to dynamic dma-buf locking specification 2022-10-18 01:21:49 +03:00
nxp media: imx: Unstage the imx7-media-csi driver 2022-11-25 08:34:39 +00:00
qcom Venus updates for v6.2 2022-11-15 11:53:57 +00:00
renesas media: rzg2l-cru: fix a test for timeout 2022-12-06 07:18:37 +00:00
rockchip media: rkisp1: make const arrays ae_wnd_num and hist_wnd_num static 2022-11-04 16:56:43 +01:00
samsung media: Switch to use dev_err_probe() helper 2022-12-07 17:58:46 +01:00
st media: Switch to use dev_err_probe() helper 2022-12-07 17:58:46 +01:00
sunxi media: sun8i-a83t-mipi-csi2: Clarify return code handling in stream off path 2022-12-14 18:12:31 +00:00
ti media: ti: cal: fix possible memory leak in cal_ctx_create() 2023-01-22 09:24:40 +01:00
verisilicon media: hantro: Allows luma and chroma depth to be different 2022-09-24 09:01:15 +02:00
via
xilinx media: Switch to use dev_err_probe() helper 2022-12-07 17:58:46 +01:00
Kconfig media: atmel: move microchip_csi2dc to dedicated microchip platform 2022-11-25 07:43:17 +00:00
m2m-deinterlace.c
Makefile media: atmel: move microchip_csi2dc to dedicated microchip platform 2022-11-25 07:43:17 +00:00
video-mux.c media: mc-entity: Rename media_entity_remote_pad() to media_pad_remote_pad_first() 2022-07-17 11:21:35 +01:00