diff options
author | 2022-06-01 06:25:14 +0200 | |
---|---|---|
committer | 2022-08-30 16:17:56 +0200 | |
commit | 1c78f19c3a0ea312a8178a6bfd8934eb93e9b10a (patch) | |
tree | 88e4e5bd251077069bb2981e783567260981b4d0 /tools/perf/scripts/python | |
parent | media: xilinx: video: Add 1X12 greyscale format (diff) | |
download | linux-dev-1c78f19c3a0ea312a8178a6bfd8934eb93e9b10a.tar.xz linux-dev-1c78f19c3a0ea312a8178a6bfd8934eb93e9b10a.zip |
media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init
of_get_child_by_name() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Add missing of_node_put() to avoid refcount leak.
Fixes: df3305156f98 ("[media] v4l: xilinx: Add Xilinx Video IP core")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions