Re: [PATCH] thermal/lib: Fix memory leak on error in thermal_genl_auto()

From: Daniel Lezcano
Date: Thu Oct 24 2024 - 12:54:38 EST


On 24/10/2024 17:19, Markus Elfring wrote:
For correctness, I'll send a V2 with the return fixed

Would you become similarly interested to increase the application of
scope-based resource management also for the affected software component?

Yes, I know it exist but I did not take the time to read the documentation, neither had the reflex to take care of that. Something I have to do :)

It seems like this function is a good candidate :)

--
<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