OpenCloudOS-Kernel/drivers/media/pci/ttpci
Zhipeng Lu 7393c681f9 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: 1da177e4c3 ("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-03-26 18:19:53 -04:00
..
Kconfig media: Revert "media: saa7146: deprecate hexium_gemini/orion, mxb and ttpci" 2023-02-09 09:22:36 +01:00
Makefile media: Revert "media: saa7146: deprecate hexium_gemini/orion, mxb and ttpci" 2023-02-09 09:22:36 +01:00
budget-av.c media: ttpci: fix two memleaks in budget_av_attach 2024-03-26 18:19:53 -04:00
budget-ci.c media: ttpci: remove unnecessary (void*) conversions 2023-07-19 12:57:47 +02:00
budget-core.c media: ttpci: remove unnecessary (void*) conversions 2023-07-19 12:57:47 +02:00
budget.c media: ttpci: remove unnecessary (void*) conversions 2023-07-19 12:57:47 +02:00
budget.h media: Revert "media: saa7146: deprecate hexium_gemini/orion, mxb and ttpci" 2023-02-09 09:22:36 +01:00