ASoC: soc-core: Fix codec->name memory leak
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Thu, 21 Oct 2010 12:19:45 +0000 (13:19 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 21 Oct 2010 20:47:38 +0000 (13:47 -0700)
commit1aafcd4d6966453ab44587c6e1214d463f3e88e2
tree43e3bed7702a603671ef61b8445c36e4fa8c2c64
parentc429ffbe038a649d121e6cecba5cf66777f39370
ASoC: soc-core: Fix codec->name memory leak

Ensure that the codec->name is freed when unregistering the codec.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c