aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2022-10-13 15:18:46 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-10-25 16:39:25 +0100
commit1f65ea411cc7b6ff128d82a3493d7b5648054e6f (patch)
tree72603f54798991013e4853ce44a19902334be25d /drivers/media/v4l2-core
parentf8bcaf714abfc94818dff8c0db84d750433984f4 (diff)
media: vivid: dev->bitmap_cap wasn't freed in all cases
Whenever the compose width/height values change, the dev->bitmap_cap vmalloc'ed array must be freed and dev->bitmap_cap set to NULL. This was done in some places, but not all. This is only an issue if overlay support is enabled and the bitmap clipping is used. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Fixes: ef834f7836ec ([media] vivid: add the video capture and output parts) Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core')
0 files changed, 0 insertions, 0 deletions