Skip to content
Commit b2132afe authored by Lu Hongfei's avatar Lu Hongfei Committed by Linus Walleij
Browse files

pinctrl: nxp: Fix resource leaks in for_each_child_of_node() loops



Ensure child node references are decremented properly in the error path.

Signed-off-by: default avatarLu Hongfei <luhongfei@vivo.com>
Link: https://lore.kernel.org/r/20230606070201.14249-1-luhongfei@vivo.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent e3275a89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment