aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorWei Chen <[email protected]>2023-03-27 11:58:09 +0000
committerHans Verkuil <[email protected]>2023-04-11 18:54:00 +0200
commit2649c1a20e8e399ee955d0e22192f9992662c3d2 (patch)
tree97ee44d65915144c4c5e84520ff1781e0c3f0c0b /tools/perf/scripts/python/task-analyzer.py
parent5a4e1b5aed2a36a10d6a3b30fafb6b3bf41c3186 (diff)
media: hi846: Fix memleak in hi846_init_controls()
hi846_init_controls doesn't clean the allocated ctrl_hdlr in case there is a failure, which causes memleak. Add v4l2_ctrl_handler_free to free the resource properly. Fixes: e8c0882685f9 ("media: i2c: add driver for the SK Hynix Hi-846 8M pixel camera") Signed-off-by: Wei Chen <[email protected]> Reviewed-by: Martin Kepplinger <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions