summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJoe Hattori <joe@pf.is.s.u-tokyo.ac.jp>2024-11-04 13:01:19 +0300
committerHans Verkuil <hverkuil@xs4all.nl>2024-11-08 15:38:10 +0300
commit8964eb23408243ae0016d1f8473c76f64ff25d20 (patch)
tree2e1493552bb78cff5694496f910b676ef2e74ec1 /tools/perf/scripts/python/export-to-postgresql.py
parent69df1f89db2b917e28e3f01b5b4eac8f3ef51b87 (diff)
downloadlinux-8964eb23408243ae0016d1f8473c76f64ff25d20.tar.xz
media: platform: exynos4-is: Fix an OF node reference leak in fimc_md_is_isp_available
In fimc_md_is_isp_available(), of_get_child_by_name() is called to check if FIMC-IS is available. Current code does not decrement the refcount of the returned device node, which causes an OF node reference leak. Fix it by calling of_node_put() at the end of the variable scope. Signed-off-by: Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp> Fixes: e781bbe3fecf ("[media] exynos4-is: Add fimc-is subdevs registration") Cc: stable@vger.kernel.org Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> [hverkuil: added CC to stable]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions