diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2011-11-10 18:15:15 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-10 18:41:20 +0100 |
commit | 58072cbfc522c2520e34333a53c8f17bb1adb1a0 (patch) | |
tree | f7d877506023930d3aeaa2b7a2ed34a9fa801c95 /drivers/base/module.c | |
parent | regmap: Support some more block operations on cached devices (diff) | |
download | linux-58072cbfc522c2520e34333a53c8f17bb1adb1a0.tar.xz linux-58072cbfc522c2520e34333a53c8f17bb1adb1a0.zip |
regmap: Fix memory leak in regmap_init error path
If regcache initialization fails regmap_init will currently exit without
freeing work_buf.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/module.c')
0 files changed, 0 insertions, 0 deletions