diff options
| author | Biren Pandya <birenpandya@gmail.com> | 2026-06-15 01:58:16 +0530 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-07-17 12:36:48 +0200 |
| commit | 7504c2463632a509f6085545578fa4058cef537e (patch) | |
| tree | 703577f3ef3f7c60aae41fb103d4970ae14087dc /tools/perf/scripts/python/task-analyzer.py | |
| parent | 2be6ee86385badab95b1bace984735bde6e0fec0 (diff) | |
media: platform: hantro_drv: Add missing media_entity_cleanup()
The media_entity_pads_init() (or media_entity_init()) function initializes
the media entity, but the driver forgets to call media_entity_cleanup()
in the error paths and remove function. Add the missing calls to fix the
API violation and prevent potential future memory leaks.
Signed-off-by: Biren Pandya <birenpandya@gmail.com>
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
