aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorGaosheng Cui <[email protected]>2024-10-09 16:28:02 +0800
committerHans Verkuil <[email protected]>2024-10-12 16:28:26 +0200
commit0f514068fbc5d4d189c817adc7c4e32cffdc2e47 (patch)
treeb3cfdb8cddee71f2c39fcc06024e3dbf4801a926 /tools/perf/scripts/python/task-analyzer.py
parent869f38ae07f7df829da4951c3d1f7a2be09c2e9a (diff)
media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal()
The buffer in the loop should be released under the exception path, otherwise there may be a memory leak here. To mitigate this, free the buffer when allegro_alloc_buffer fails. Fixes: f20387dfd065 ("media: allegro: add Allegro DVT video IP core driver") Cc: <[email protected]> Signed-off-by: Gaosheng Cui <[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