Re: [PATCH] clk: boston: fix possible memory leak in clk_boston_setup()

2018-10-29 Thread Sergei Shtylyov
Hello! On 10/29/2018 11:04 AM, Yi Wang wrote: 'onecell' is malloced in clk_boston_setup(), but not be freed Is not freed. before leaving from the error handling cases. Signed-off-by: Yi Wang [...] MBR, Sergei

[PATCH] clk: boston: fix possible memory leak in clk_boston_setup()

2018-10-29 Thread Yi Wang
'onecell' is malloced in clk_boston_setup(), but not be freed before leaving from the error handling cases. Signed-off-by: Yi Wang --- drivers/clk/imgtec/clk-boston.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/clk/imgtec/clk-boston.c b/drivers/clk/img