mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
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: [email protected] # v5.1+
Signed-off-by: Jiasheng Jiang <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>