linux/drivers/media/platform/sti
Dan Carpenter 232c297a4e media: c8sectpfe: fix double free in configure_channels()
The configure_channels() function has a double free because
configure_memdma_and_inputblock() calls free_input_block() and then
it's called again in the error handling code.

Link: https://lore.kernel.org/linux-media/20211208073544.GA22020@kili
Fixes: c5f5d0f997 ("[media] c8sectpfe: STiH407/10 Linux DVB demux support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-12-14 16:19:04 +01:00
..
bdisp media: driver: bdisp: add pm_runtime_disable in the error handling code 2021-11-30 12:06:09 +01:00
c8sectpfe media: c8sectpfe: fix double free in configure_channels() 2021-12-14 16:19:04 +01:00
delta media: sti: don't copy past the size 2021-07-12 09:16:31 +02:00
hva media: driver: hva: add pm_runtime_disable in the error handling code of hva_hw_probe 2021-11-30 12:05:53 +01:00