Files
linux/drivers/media/pci/zoran
Abdun Nihaal 8ea21435fe media: pci: zoran: fix potential memory leak in zoran_probe()
The memory allocated for codec in videocodec_attach() is not freed in
one of the error paths, due to an incorrect goto label. Fix the label
to free it on error.

Fixes: 8f7cc5c0b0 ("media: staging: media: zoran: introduce zoran_i2c_init")
Cc: stable@vger.kernel.org
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
2026-03-16 16:30:21 +01:00
..
2022-08-29 15:33:45 +02:00
2022-08-29 15:33:45 +02:00
2022-08-29 15:33:45 +02:00
2022-08-29 15:33:45 +02:00
2025-08-13 08:33:47 +02:00
2022-08-29 15:33:45 +02:00
2022-08-29 15:33:45 +02:00
2022-08-29 15:33:45 +02:00
2022-08-29 15:33:45 +02:00