commit | 11faa20eb43997baae0c72916d8a959efcb6f8c4 | [log] [tgz] |
---|---|---|
author | Alexey Klimov <alexey.klimov@linaro.org> | Sun Oct 25 23:21:24 2015 +0000 |
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | Tue Dec 15 09:41:04 2015 +0100 |
tree | 5d9688fc459184b5fae1adcc9648789732d40055 | |
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>