diff options
| author | 2026-04-27 19:26:31 +0800 | |
|---|---|---|
| committer | 2026-05-15 12:05:34 +0100 | |
| commit | ba121d7582361fe74405f32724976aeff5c35177 (patch) | |
| tree | 32eae538a1ade057be5114b82a44241ebbfaa9d7 /tools/lib/python/kdoc/python_version.py | |
| parent | iio: dac: max5821: fix return value check in powerdown sync (diff) | |
iio: adc: meson-saradc: fix calibration buffer leak on error
meson_sar_adc_temp_sensor_init() allocates a buffer with
nvmem_cell_read(), but the old code leaked it if
syscon_regmap_lookup_by_phandle() failed.
Fix this by adding missing kfree(buf).
Fixes: d6f2eac64403 ("iio: adc: meson: no devm for nvmem_cell_get")
Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
