summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDmitry Nikiforov <Dm1tryNk@yandex.ru>2025-04-16 23:51:19 +0300
committerHans Verkuil <hverkuil@xs4all.nl>2025-04-25 15:14:36 +0200
commit024bf40edf1155e7a587f0ec46294049777d9b02 (patch)
tree4565dcf886cb485a32a921c2503d503fa5f92958 /tools/perf/scripts/python/bin
parent974a8ab3bf2f2760375fa78561f85d8726740012 (diff)
media: davinci: vpif: Fix memory leak in probe error path
If an error occurs during the initialization of `pdev_display`, the allocated platform device `pdev_capture` is not released properly, leading to a memory leak. Adjust error path handling to fix the leak. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 43acb728bbc4 ("media: davinci: vpif: fix use-after-free on driver unbind") Cc: stable@vger.kernel.org Signed-off-by: Dmitry Nikiforov <Dm1tryNk@yandex.ru> Reviewed-by: Johan Hovold <johan@kernel.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions