[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <170306426324.94631.3566102445536817606.b4-ty@linaro.org>
Date: Wed, 20 Dec 2023 11:25:12 +0200
From: Abel Vesa <abel.vesa@...aro.org>
To: abelvesa@...nel.org,
	Kuan-Wei Chiu <visitorckw@...il.com>
Cc: peng.fan@....com,
	mturquette@...libre.com,
	sboyd@...nel.org,
	shawnguo@...nel.org,
	s.hauer@...gutronix.de,
	kernel@...gutronix.de,
	festevam@...il.com,
	linux-imx@....com,
	linux-clk@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clk: imx: scu: Fix memory leak in __imx_clk_gpr_scu()
On Mon, 11 Dec 2023 01:19:07 +0800, Kuan-Wei Chiu wrote:
> In cases where imx_clk_is_resource_owned() returns false, the code path
> does not handle the failure gracefully, potentially leading to a memory
> leak. This fix ensures proper cleanup by freeing the allocated memory
> for 'clk_node' before returning.
> 
> 
Applied, thanks!
[1/1] clk: imx: scu: Fix memory leak in __imx_clk_gpr_scu()
      commit: 986439a9b3a32a6ac20042ec17acd443f1e7e86a
Best regards,
-- 
Abel Vesa <abel.vesa@...aro.org>
Powered by blists - more mailing lists