diff options
author | Christophe JAILLET <[email protected]> | 2024-01-28 09:38:10 +0100 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2024-03-11 17:14:46 +0100 |
commit | ca93bf607a44c1f009283dac4af7df0d9ae5e357 (patch) | |
tree | bdd98cb57503fd121334aac68989386a11ca0bed /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | dcb497ec993265dfc5fffa60b486c1ad353e9ad5 (diff) |
thermal/drivers/mediatek/lvts_thermal: Fix a memory leak in an error handling path
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 <[email protected]>
Reviewed-by: Matthias Brugger <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/481d345233862d58c3c305855a93d0dbc2bbae7e.1706431063.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions