(subset) [PATCH] leds: mt6360: fix memory leak in mt6360_init_isnk_properties()
Lee Jones
lee at kernel.org
Thu Jun 13 10:18:58 PDT 2024
On Tue, 11 Jun 2024 00:40:26 +0200, Javier Carrasco wrote:
> 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.
>
>
> [...]
Applied, thanks!
[1/1] leds: mt6360: fix memory leak in mt6360_init_isnk_properties()
commit: 6e0b2281085191fbf34fb24ef272cb44a82de4f0
--
Lee Jones [李琼斯]
More information about the linux-arm-kernel
mailing list