[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <154170116960.88331.164103375264551287@swboyd.mtv.corp.google.com>
Date: Thu, 08 Nov 2018 10:19:29 -0800
From: Stephen Boyd <sboyd@...nel.org>
To: Yi Wang <wang.yi59@....com.cn>, paul.burton@...s.com
Cc: mturquette@...libre.com, linux-mips@...ux-mips.org,
linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
zhong.weidong@....com.cn, Yi Wang <wang.yi59@....com.cn>
Subject: Re: [PATCH v3 1/2] clk: boston: fix possible memory leak in
clk_boston_setup()
Quoting Yi Wang (2018-10-31 00:41:41)
> Smatch report warnings:
> drivers/clk/imgtec/clk-boston.c:76 clk_boston_setup() warn: possible memory leak of 'onecell'
> drivers/clk/imgtec/clk-boston.c:83 clk_boston_setup() warn: possible memory leak of 'onecell'
> drivers/clk/imgtec/clk-boston.c:90 clk_boston_setup() warn: possible memory leak of 'onecell'
>
> 'onecell' is malloced in clk_boston_setup(), but not be freed
> before leaving from the error handling cases.
>
> Signed-off-by: Yi Wang <wang.yi59@....com.cn>
> ---
Applied to clk-next
Powered by blists - more mailing lists