[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <161783818236.3790633.17349674576901992073@swboyd.mtv.corp.google.com>
Date: Wed, 07 Apr 2021 16:29:42 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Colin King <colin.king@...onical.com>,
Dinh Nguyen <dinguyen@...nel.org>,
Michael Turquette <mturquette@...libre.com>,
linux-clk@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return
Quoting Colin King (2021-04-06 10:01:15)
> From: Colin Ian King <colin.king@...onical.com>
>
> There is an error return path that is not kfree'ing socfpga_clk leading
> to a memory leak. Fix this by adding in the missing kfree call.
>
> Addresses-Coverity: ("Resource leak")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
Applied to clk-next
Powered by blists - more mailing lists