Quoting wang.y...@zte.com.cn (2018-10-29 23:13:24)
> > Quoting Yi Wang (2018-10-29 01:31:47)
> > > 'onecell' is malloced in clk_boston_setup(), but is not freed
> > > before leaving from the error handling cases.
> >
> > How did you find this? Visual inspection? Some coccinelle script?
>
> Smatch
Quoting Yi Wang (2018-10-29 01:31:47)
> 'onecell' is malloced in clk_boston_setup(), but is not freed
> before leaving from the error handling cases.
How did you find this? Visual inspection? Some coccinelle script?
>
> Signed-off-by: Yi Wang
> ---
> v2: fix syntax issue in comment, thanks to
'onecell' is malloced in clk_boston_setup(), but is not freed
before leaving from the error handling cases.
Signed-off-by: Yi Wang
---
v2: fix syntax issue in comment, thanks to Sergei.
drivers/clk/imgtec/clk-boston.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --gi
3 matches
Mail list logo