mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-08 14:54:23 +08:00
e41d574b35
The fwnode_for_each_child_node() loop requires manual intervention to
decrement the child refcount in case of an early return.
Add the missing calls to fwnode_handle_put(child) to avoid memory leaks
in the error paths.
Cc: stable@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
leds-aat1290.c | ||
leds-as3645a.c | ||
leds-ktd2692.c | ||
leds-lm3601x.c | ||
leds-max77693.c | ||
leds-mt6360.c | ||
leds-mt6370-flash.c | ||
leds-qcom-flash.c | ||
leds-rt4505.c | ||
leds-rt8515.c | ||
leds-sgm3140.c | ||
Makefile |