diff options
| author | Haoxiang Li <haoxiang_li2024@163.com> | 2025-02-26 20:49:22 +0800 |
|---|---|---|
| committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-04-24 15:21:36 +0200 |
| commit | 609ba05b9484856b08869f827a6edee51d51b5f3 (patch) | |
| tree | df15b3276ae84597316f6df0273f1ca61ed32443 /tools/perf/scripts/python/flamegraph.py | |
| parent | 208699afb9f22f4d903ebdbdae45c2c6f2e308e0 (diff) | |
media: imagination: fix a potential memory leak in e5010_probe()
Add video_device_release() to release the memory allocated by
video_device_alloc() if something goes wrong.
Fixes: a1e294045885 ("media: imagination: Add E5010 JPEG Encoder driver")
Cc: stable@vger.kernel.org
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
