summaryrefslogtreecommitdiffstats
path: root/drivers/base/module.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2011-11-10 18:15:15 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-10 18:41:20 +0100
commit58072cbfc522c2520e34333a53c8f17bb1adb1a0 (patch)
treef7d877506023930d3aeaa2b7a2ed34a9fa801c95 /drivers/base/module.c
parentregmap: Support some more block operations on cached devices (diff)
downloadlinux-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