diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2025-12-23 11:18:13 +0530 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-01-13 13:21:03 +0100 |
| commit | 9cea16fea47e5553f51d10957677ff735b1eff03 (patch) | |
| tree | 1e88017f223e2b0b5409f5bdfb07a893f2938f66 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a8333c8262aed2aedf608c18edd39cf5342680a7 (diff) | |
media: i2c/tw9903: Fix potential memory leak in tw9903_probe()
In one of the error paths in tw9903_probe(), the memory allocated in
v4l2_ctrl_handler_init() and v4l2_ctrl_new_std() is not freed. Fix that
by calling v4l2_ctrl_handler_free() on the handler in that error path.
Cc: stable@vger.kernel.org
Fixes: 0890ec19c65d ("[media] tw9903: add new tw9903 video decoder")
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
