mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
regmap-irq: Add missing kfree()
commit32ffed055dupstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
40a35d14f3
commit
78be8f779b
1 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue