kernel_samsung_a53x/drivers/media/pci/ttpci
Zhipeng Lu 0492d42756 media: ttpci: fix two memleaks in budget_av_attach
[ Upstream commit d0b07f712bf61e1a3cf23c87c663791c42e50837 ]

When saa7146_register_device and saa7146_vv_init fails, budget_av_attach
should free the resources it allocates, like the error-handling of
ttpci_budget_init does. Besides, there are two fixme comment refers to
such deallocations.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Zhipeng Lu <alexious@zju.edu.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 08:44:55 +01:00
..
av7110.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
av7110.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
av7110_av.c media: av7110: prevent underflow in write_ts_to_decoder() 2024-11-18 22:25:34 +01:00
av7110_av.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
av7110_ca.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
av7110_ca.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
av7110_hw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
av7110_hw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
av7110_ipack.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
av7110_ipack.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
av7110_ir.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
av7110_v4l.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
budget-av.c media: ttpci: fix two memleaks in budget_av_attach 2024-11-19 08:44:55 +01:00
budget-ci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
budget-core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
budget-patch.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
budget.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
budget.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dvb_filter.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dvb_filter.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ttpci-eeprom.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ttpci-eeprom.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00