diff options
author | 2025-02-05 00:43:43 +0000 | |
---|---|---|
committer | 2025-02-05 11:55:42 +0000 | |
commit | 32ffed055dcee17f6705f545b069e44a66067808 (patch) | |
tree | 6b83fe168f8b3f6e150ebe6e0a47a097ea844dff /scripts/lib/kdoc/kdoc_parser.py | |
parent | Linux 6.14-rc1 (diff) | |
download | wireguard-linux-32ffed055dcee17f6705f545b069e44a66067808.tar.xz wireguard-linux-32ffed055dcee17f6705f545b069e44a66067808.zip |
regmap-irq: Add missing kfree()
Add kfree() for "d->main_status_buf" to the error-handling path to prevent
a memory leak.
Fixes: a2d21848d921 ("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>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions