Messages in this thread | ![/](/images/icornerl.gif) | | Date | Tue, 30 Jan 2024 10:51:53 +0100 | Subject | Re: [PATCH] thermal/drivers/mediatek/lvts_thermal: Fix a memory leak in an error handling path | From | Daniel Lezcano <> |
| |
On 28/01/2024 09:38, Christophe JAILLET wrote: > If devm_krealloc() fails, then 'efuse' is leaking. > So free it to avoid a leak. > > Fixes: f5f633b18234 ("thermal/drivers/mediatek: Add the Low Voltage Thermal Sensor driver") > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> > ---
Applied, thanks
-- <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
| ![\](/images/icornerr.gif) |