ASoC: sgtl5000: use after free in ldo_regulator_register()
authorDan Carpenter <error27@gmail.com>
Tue, 8 Mar 2011 11:39:24 +0000 (14:39 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 8 Mar 2011 18:57:24 +0000 (18:57 +0000)
commit62f75aafdf180554b4fad29ff1f3827b151d39db
tree589246b139c34d3561f42115f102477899e8ae50
parentefb7ac3f9c28fcb379c51f987b63174f727b7453
ASoC: sgtl5000: use after free in ldo_regulator_register()

The "ldo" variable was dereferenced after free on the error path.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/sgtl5000.c