[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <171829913865.2730656.15082928550080844498.b4-ty@kernel.org>
Date: Thu, 13 Jun 2024 18:18:58 +0100
From: Lee Jones <lee@...nel.org>
To: Pavel Machek <pavel@....cz>, Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Javier Carrasco <javier.carrasco.cruz@...il.com>
Cc: linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-mediatek@...ts.infradead.org,
stable@...r.kernel.org
Subject: Re: (subset) [PATCH] leds: mt6360: fix memory leak in
mt6360_init_isnk_properties()
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 [李琼斯]
Powered by blists - more mailing lists