diff options
author | Jacky Bai <ping.bai@nxp.com> | 2023-10-09 11:39:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-28 20:19:36 +0300 |
commit | 07a2284773c9afe0644dc235f8523b88ea2789f3 (patch) | |
tree | c5d0b6a0b1de33bf8946d6f1f73aa31f4d3c6af0 /Documentation/timers/timekeeping.rst | |
parent | 2a79a7e8b6417d58e803b2c0005dac40a45d3637 (diff) | |
download | linux-07a2284773c9afe0644dc235f8523b88ea2789f3.tar.xz |
clocksource/drivers/timer-imx-gpt: Fix potential memory leak
[ Upstream commit 8051a993ce222a5158bccc6ac22ace9253dd71cb ]
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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation/timers/timekeeping.rst')
0 files changed, 0 insertions, 0 deletions