diff options
| author | Dinghao Liu <[email protected]> | 2020-10-20 14:12:26 +0800 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2020-10-28 18:51:56 +0100 |
| commit | 28d211919e422f58c1e6c900e5810eee4f1ce4c8 (patch) | |
| tree | 312fce5d82ce55d6131cd2afec258e9a759267d6 /tools/perf/scripts/python | |
| parent | ba1c30bf3f2536f248d262c6f257b5a787305991 (diff) | |
rtc: sun6i: Fix memleak in sun6i_rtc_clk_init
When clk_hw_register_fixed_rate_with_accuracy() fails,
clk_data should be freed. It's the same for the subsequent
two error paths, but we should also unregister the already
registered clocks in them.
Signed-off-by: Dinghao Liu <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions