[PATCH 6.6 575/638] thermal/drivers/mediatek/lvts_thermal: Fix a memory leak in an error handling path