diff options
author | Katya Orlova <e.orlova@ispras.ru> | 2023-09-22 14:55:06 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-10-07 10:55:45 +0200 |
commit | 61334819aca018c3416ee6c330a08a49c1524fc3 (patch) | |
tree | d06041aada99cda60518079ae4f06f926acfb952 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f301fedbeecfdce91cb898d6fa5e62f269801fee (diff) |
media: s3c-camif: Avoid inappropriate kfree()
s3c_camif_register_video_node() works with video_device structure stored
as a field of camif_vp, so it should not be kfreed.
But there is video_device_release() on error path that do it.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: babde1c243b2 ("[media] V4L: Add driver for S3C24XX/S3C64XX SoC series camera interface")
Signed-off-by: Katya Orlova <e.orlova@ispras.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions