diff options
author | Alexey Klimov <alexey.klimov@linaro.org> | 2015-10-25 23:21:24 +0000 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-12-15 09:41:04 +0100 |
commit | 11faa20eb43997baae0c72916d8a959efcb6f8c4 (patch) | |
tree | 5d9688fc459184b5fae1adcc9648789732d40055 /tools/perf/scripts/python | |
parent | 6cd7ccaaa84f6d9ee9ed33c66d7492121e2b98fd (diff) |
clocksource/drivers/mtk_timer: Fix memleak in mtk_timer_init()
Add error path to clear evt struct allocated by kzalloc() in the beginning of
function mtk_timer_init().
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions