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
av7110.h
av7110_av.c
av7110_av.h
av7110_ca.c
av7110_ca.h
av7110_hw.c
av7110_hw.h
av7110_ipack.c
av7110_ipack.h
av7110_ir.c
av7110_v4l.c
budget-av.c
budget-ci.c
budget-core.c
budget-patch.c
budget.c
budget.h
dvb_filter.c
dvb_filter.h
Kconfig
Makefile
ttpci-eeprom.c
ttpci-eeprom.h