diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2011-11-14 10:40:16 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-14 22:46:09 +0100 |
commit | 021cd616decb4e8a4b31f1f8c466a847e8c04e67 (patch) | |
tree | 94d59c03e8fd9b89148b76cf3cc18eda2ef05d87 /drivers/gpio | |
parent | regmap: return ERR_PTR instead of NULL in regmap_init (diff) | |
download | linux-021cd616decb4e8a4b31f1f8c466a847e8c04e67.tar.xz linux-021cd616decb4e8a4b31f1f8c466a847e8c04e67.zip |
regmap: Fix memory leak in regcache_hw_init error path
Make sure reg_defaults_raw gets freed in case of an error.
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/gpio')
0 files changed, 0 insertions, 0 deletions