diff options
author | Yi Wang <wang.yi59@zte.com.cn> | 2018-10-31 15:41:41 +0800 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-11-08 10:14:39 -0800 |
commit | 46fda5b5067a391912cf73bf3d32c26b6a22ad09 (patch) | |
tree | a81650fcf3e40e03691ee8464541b3a73c94d70a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 651022382c7f8da46cb4872a545ee1da6d097d2a (diff) |
clk: boston: fix possible memory leak in clk_boston_setup()
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>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions