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:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| audio-graph-card.c | ||
| audio-graph-card2-custom-sample.c | ||
| audio-graph-card2-custom-sample.dtsi | ||
| audio-graph-card2.c | ||
| simple-card-utils.c | ||
| simple-card.c | ||
| test-component.c | ||