summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/regcache-lzo.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2011-11-14 10:40:17 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-14 21:46:25 +0000
commitbd061c78cabc28bb64ed79f784d24918b6bdb791 (patch)
tree22cc4e766df7839257eaa893ada3b623d6201e09 /drivers/base/regmap/regcache-lzo.c
parent021cd616decb4e8a4b31f1f8c466a847e8c04e67 (diff)
downloadlinux-bd061c78cabc28bb64ed79f784d24918b6bdb791.tar.bz2
regmap: Fix memory leak in regcache_init error path
Make sure all allocated memory gets freed again in case initializing the cache failed. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/regmap/regcache-lzo.c')
0 files changed, 0 insertions, 0 deletions