Files
Daniel Niv 5f15c0dd7d media: media/saa7164: fix saa7164_encoder_register() memory leak bugs
[ Upstream commit c759b2970c ]

Add a fix for the memory leak bugs that can occur when the
saa7164_encoder_register() function fails.
The function allocates memory without explicitly freeing
it when errors occur.
Add a better error handling that deallocate the unused buffers before the
function exits during a fail.

Signed-off-by: Daniel Niv <danielniv3@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-22 10:40:17 +02:00
..
2017-03-12 06:41:41 +01:00
2016-09-19 16:22:18 -03:00
2016-09-19 16:22:18 -03:00
2016-08-24 11:17:22 -03:00
2016-08-24 11:17:22 -03:00