summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorXiu Jianfeng <xiujianfeng@huawei.com>2022-11-23 17:12:01 +0800
committerHeiko Stuebner <heiko@sntech.de>2022-11-23 14:51:30 +0100
commit739a6a6bbdb793bd57938cb24aa5a6df89983546 (patch)
treea7d47e1bd73f225de2acad6534b2d4d6af47fc62 /tools/perf/scripts/python/exported-sql-viewer.py
parentf1c506d152ff235ad621d3c25d061cb16da67214 (diff)
clk: rockchip: Fix memory leak in rockchip_clk_register_pll()
If clk_register() fails, @pll->rate_table may have allocated memory by kmemdup(), so it needs to be freed, otherwise will cause memory leak issue, this patch fixes it. Fixes: 90c590254051 ("clk: rockchip: add clock type for pll clocks and pll used on rk3066") Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com> Link: https://lore.kernel.org/r/20221123091201.199819-1-xiujianfeng@huawei.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions