Skip to content
Commit eb9e9bc4 authored by Liang He's avatar Liang He Committed by Thomas Bogendoerfer
Browse files

mips/pic32/pic32mzda: Fix refcount leak bugs



of_find_matching_node(), of_find_compatible_node() and
of_find_node_by_path() will return node pointers with refcout
incremented. We should call of_node_put() when they are not
used anymore.

Signed-off-by: default avatarLiang He <windhl@126.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 76695592
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment