diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2011-11-14 10:40:17 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-14 21:46:25 +0000 |
commit | bd061c78cabc28bb64ed79f784d24918b6bdb791 (patch) | |
tree | 22cc4e766df7839257eaa893ada3b623d6201e09 /drivers/base/Makefile | |
parent | 021cd616decb4e8a4b31f1f8c466a847e8c04e67 (diff) | |
download | talos-op-linux-bd061c78cabc28bb64ed79f784d24918b6bdb791.tar.gz talos-op-linux-bd061c78cabc28bb64ed79f784d24918b6bdb791.zip |
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/Makefile')
0 files changed, 0 insertions, 0 deletions