diff options
author | Charles Keepax <[email protected]> | 2020-06-17 16:21:29 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-06-17 17:12:11 +0100 |
commit | 95b2c3ec4cb1689db2389c251d39f64490ba641c (patch) | |
tree | 4cf411c215ccdf92ece29794cff24ddbb376d320 /scripts/gdb/linux/modules.py | |
parent | e680a4098f6404191e0e438a9758715b0bff6d7f (diff) |
regmap: Fix memory leak from regmap_register_patch
When a register patch is registered the reg_sequence is copied but the
memory allocated is never freed. Add a kfree in regmap_exit to clean it
up.
Fixes: 22f0d90a3482 ("regmap: Support register patch sets")
Signed-off-by: Charles Keepax <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions