diff options
author | 2021-07-02 03:01:28 +0100 | |
---|---|---|
committer | 2021-10-18 16:29:34 +0100 | |
commit | fe47b6d7582ad1a608d8341c3e02c3e06f5678e6 (patch) | |
tree | cd4c07d9056f4cc7409ade5c60791a8bd4a10297 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | media: remove myself from dvb media maintainers (diff) | |
download | wireguard-linux-fe47b6d7582ad1a608d8341c3e02c3e06f5678e6.tar.xz wireguard-linux-fe47b6d7582ad1a608d8341c3e02c3e06f5678e6.zip |
media: cedrus: fix double free
If v4l2_ctrl_new_custom fails in cedrus_init_ctrls the error path will
free ctx->ctrls, which is also freed in cedrus release. Fix this by
setting ctx->ctrls to NULL instead of inadvertently removing kfree
calls.
Signed-off-by: Daniel Almeida <daniel.almeida@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions