diff options
author | Qinrun Dai <flno@hust.edu.cn> | 2023-04-13 16:50:37 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2023-04-24 17:56:13 +0300 |
commit | fb73556386e074e9bee9fa2d253aeaefe4e063e0 (patch) | |
tree | 9740a085428f19574ec5b8ff36b3b719fa9016dd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b6f228e800ccf285906bb1c4c366ce3848a5443e (diff) | |
download | linux-fb73556386e074e9bee9fa2d253aeaefe4e063e0.tar.xz |
clocksource/drivers/davinci: Fix memory leak in davinci_timer_register when init fails
Smatch reports:
drivers/clocksource/timer-davinci.c:332 davinci_timer_register()
warn: 'base' from ioremap() not released on lines: 274.
Fix this and other potential memory leak problems
by adding a set of corresponding exit lables.
Fixes: 721154f972aa ("clocksource/drivers/davinci: Add support for clockevents")
Signed-off-by: Qinrun Dai <flno@hust.edu.cn>
Link: https://lore.kernel.org/r/20230413135037.1505799-1-flno@hust.edu.cn
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions