Skip to content
Verified Commit 32ffed05 authored by Jiasheng Jiang's avatar Jiasheng Jiang Committed by Mark Brown
Browse files

regmap-irq: Add missing kfree()



Add kfree() for "d->main_status_buf" to the error-handling path to prevent
a memory leak.

Fixes: a2d21848 ("regmap: regmap-irq: Add main status register support")
Cc: stable@vger.kernel.org  # v5.1+
Signed-off-by: default avatarJiasheng Jiang <jiashengjiangcool@gmail.com>
Link: https://patch.msgid.link/20250205004343.14413-1-jiashengjiangcool@gmail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2014c95a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment