Re: [PATCH] clocksource: timer-imx-gpt: fix potential memory leak
From: Daniel Lezcano
Date: Wed Oct 11 2023 - 04:13:18 EST
Hi Jacky,
On 09/10/2023 10:39, Jacky Bai wrote:
Fix coverity Issue CID 250382: Resource leak (RESOURCE_LEAK).
Add kfree when error return.
Signed-off-by: Jacky Bai <ping.bai@xxxxxxx>
Reviewed-by: Peng Fan <peng.fan@xxxxxxx>
---
In the future, add lkml@ in Cc also. Also the subject has the format:
clocksource/drivers/<mydriver> : [AZ].*
Applied [with the subject fixed]
Thanks
-- Daniel
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog