diff options
author | Jacky Bai <ping.bai@nxp.com> | 2023-10-09 16:39:22 +0800 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2023-10-11 10:10:34 +0200 |
commit | 8051a993ce222a5158bccc6ac22ace9253dd71cb (patch) | |
tree | 778a75985dae4c1e26082dd1d38b99c62ff6ecdb /tools | |
parent | 078a5babf2bc92eba04b8f9162e5fea7afc2749e (diff) |
clocksource/drivers/timer-imx-gpt: Fix potential memory leak
Fix coverity Issue CID 250382: Resource leak (RESOURCE_LEAK).
Add kfree when error return.
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20231009083922.1942971-1-ping.bai@nxp.com
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions