ASoC: sta32x: Fix a memory leak if snd_soc_register_codec fails
commit161d55c3ec4c7e26c96b11dc86caea0b3c9c6b0f
authorAxel Lin <axel.lin@gmail.com>
Sat, 13 Aug 2011 03:33:08 +0000 (13 11:33 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 15 Aug 2011 13:28:52 +0000 (15 22:28 +0900)
tree422d4cef906e9fcf84c6af18a2edf5ecc1dcf9e0
parentd2b4c7bd7eabfaa2e3e5b8107d5eeb56ac879813
ASoC: sta32x: Fix a memory leak if snd_soc_register_codec fails

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/sta32x.c