diff options
author | 2022-11-08 22:19:17 +0800 | |
---|---|---|
committer | 2022-12-27 07:21:41 +0200 | |
commit | ed8167cbf65c2b6ff6faeb0f96ded4d6d581e1ac (patch) | |
tree | 2038d79cb352148335ec76f0fa693d5539fe38f2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ARM: OMAP2+: omap4-common: Fix refcount leak bug (diff) | |
download | wireguard-linux-ed8167cbf65c2b6ff6faeb0f96ded4d6d581e1ac.tar.xz wireguard-linux-ed8167cbf65c2b6ff6faeb0f96ded4d6d581e1ac.zip |
ARM: OMAP2+: Fix memory leak in realtime_counter_init()
The "sys_clk" resource is malloced by clk_get(),
it is not released when the function return.
Fixes: fa6d79d27614 ("ARM: OMAP: Add initialisation for the real-time counter.")
Signed-off-by: Chen Hui <judy.chenhui@huawei.com>
Message-Id: <20221108141917.46796-1-judy.chenhui@huawei.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions