diff options
author | 2020-11-16 21:51:23 +0800 | |
---|---|---|
committer | 2020-12-03 19:16:26 +0100 | |
commit | eee422c46e6840a81c9db18a497b74387a557b29 (patch) | |
tree | 2f9cad1f62355180a53dadbbb407ab1045133f95 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dt-bindings: timer: renesas: tmu: Convert to json-schema (diff) | |
download | wireguard-linux-eee422c46e6840a81c9db18a497b74387a557b29.tar.xz wireguard-linux-eee422c46e6840a81c9db18a497b74387a557b29.zip |
clocksource/drivers/cadence_ttc: Fix memory leak in ttc_setup_clockevent()
If clk_notifier_register() failed, ttc_setup_clockevent() will return
without freeing 'ttcce', which will leak memory.
Fixes: 70504f311d4b ("clocksource/drivers/cadence_ttc: Convert init function to return error")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20201116135123.2164033-1-yukuai3@huawei.com
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions