diff options
| author | Deepak R Varma <drv@mailo.com> | 2023-02-11 16:39:50 +0530 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-05-25 16:21:19 +0200 |
| commit | b8ed1ceb4a2653a2d5529b3afb79343d77efb3ce (patch) | |
| tree | 08946c3c60940e2abb03e504cfaf5a4354f0c186 /tools/perf/scripts/python | |
| parent | e5f29bb9c4350dd9692f3b98eb8538dbbebccbaf (diff) | |
| download | linux-b8ed1ceb4a2653a2d5529b3afb79343d77efb3ce.tar.gz linux-b8ed1ceb4a2653a2d5529b3afb79343d77efb3ce.zip | |
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 <drv@mailo.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
