linux/drivers/base/regmap
Jiasheng Jiang 32ffed055d
regmap-irq: Add missing kfree()
Add kfree() for "d->main_status_buf" to the error-handling path to prevent
a memory leak.

Fixes: a2d21848d9 ("regmap: regmap-irq: Add main status register support")
Cc: stable@vger.kernel.org  # v5.1+
Signed-off-by: Jiasheng Jiang <jiashengjiangcool@gmail.com>
Link: https://patch.msgid.link/20250205004343.14413-1-jiashengjiangcool@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-02-05 11:55:42 +00:00
..
Kconfig
Makefile
internal.h
regcache-flat.c
regcache-maple.c
regcache-rbtree.c
regcache.c
regmap-ac97.c
regmap-debugfs.c
regmap-fsi.c
regmap-i2c.c
regmap-i3c.c
regmap-irq.c
regmap-kunit.c
regmap-mdio.c
regmap-mmio.c
regmap-ram.c
regmap-raw-ram.c
regmap-sccb.c
regmap-sdw-mbq.c
regmap-sdw.c
regmap-slimbus.c
regmap-spi-avmm.c
regmap-spi.c
regmap-spmi.c
regmap-w1.c
regmap.c
trace.h