[PATCH] clocksource: timer-imx-gpt: fix potential memory leak

Daniel Lezcano daniel.lezcano at linaro.org
Wed Oct 11 01:12:52 PDT 2023


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 at nxp.com>
> Reviewed-by: Peng Fan <peng.fan at nxp.com>
> ---
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




More information about the linux-arm-kernel mailing list