aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDeepak R Varma <[email protected]>2023-02-11 16:39:50 +0530
committerHans Verkuil <[email protected]>2023-05-25 16:21:19 +0200
commitb8ed1ceb4a2653a2d5529b3afb79343d77efb3ce (patch)
tree08946c3c60940e2abb03e504cfaf5a4354f0c186 /tools/perf/scripts/python
parente5f29bb9c4350dd9692f3b98eb8538dbbebccbaf (diff)
media: platform: mtk-mdp3: release node reference before returning
The iterator for_each_child_of_node() increments the refcount of the child node it is processing. Release such a reference when the loop needs to break due to an error during its execution. Issue identified using for_each_child.cocci Coccinelle semantic patch. Signed-off-by: Deepak R Varma <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions