diff options
author | 2015-10-25 23:21:24 +0000 | |
---|---|---|
committer | 2015-12-15 09:41:04 +0100 | |
commit | 11faa20eb43997baae0c72916d8a959efcb6f8c4 (patch) | |
tree | 5d9688fc459184b5fae1adcc9648789732d40055 /tools/perf/scripts/python | |
parent | clocksource/drivers/mtk_timer: Fix pr_warn() messages in mtk_timer_init (diff) | |
download | linux-dev-11faa20eb43997baae0c72916d8a959efcb6f8c4.tar.xz linux-dev-11faa20eb43997baae0c72916d8a959efcb6f8c4.zip |
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