ASoC: Fix resource leak in neo1973_gta02_init() error path
authorAxel Lin <axel.lin@gmail.com>
Fri, 26 Nov 2010 06:52:47 +0000 (14:52 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 29 Nov 2010 11:00:55 +0000 (11:00 +0000)
commitb6a11f497369fff39e8eb91c83b531d41a73986d
treebfa32d7b2a6f48fc7f9098184776f8b93c4bb88f
parent853dc30274878d14b7abef8313c801f5559b4c47
ASoC: Fix resource leak in neo1973_gta02_init() error path

Properly free allocated resources in neo1973_gta02_init() error path.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/samsung/neo1973_gta02_wm8753.c