Messages in this thread | | | From | Stephen Boyd <> | Subject | Re: [PATCH v3 1/2] clk: boston: fix possible memory leak in clk_boston_setup() | Date | Thu, 08 Nov 2018 10:19:29 -0800 |
| |
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@zte.com.cn> > ---
Applied to clk-next
| |