aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorWang Yufen <[email protected]>2022-12-05 16:15:27 +0800
committerMark Brown <[email protected]>2022-12-07 14:19:12 +0000
commit8ab2d12c726f0fde0692fa5d81d8019b3dcd62d0 (patch)
treee9ca0364ca48b4f1341e39fa20b815a3e67c1f5c /scripts/generate_rust_analyzer.py
parent3327d721114c109ba0575f86f8fda3b525404054 (diff)
ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()
The of_get_next_child() returns a node with refcount incremented, and decrements the refcount of prev. So in the error path of the while loop, of_node_put() needs be called for cpu_ep. Fixes: fce9b90c1ab7 ("ASoC: audio-graph-card: cleanup DAI link loop method - step2") Signed-off-by: Wang Yufen <[email protected]> Acked-by: Kuninori Morimoto <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions