commit | bd061c78cabc28bb64ed79f784d24918b6bdb791 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Mon Nov 14 10:40:17 2011 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Nov 14 21:46:25 2011 +0000 |
tree | 22cc4e766df7839257eaa893ada3b623d6201e09 | |
parent | 021cd616decb4e8a4b31f1f8c466a847e8c04e67 [diff] |
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>