ASoC: au1x: dbdma2: plug memleak in pcm device creation error path
commitefd9eb96d5604c2c133e500f7b8c7b3f3fbdece8
authorManuel Lauss <manuel.lauss@googlemail.com>
Tue, 1 Dec 2009 17:10:35 +0000 (1 18:10 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 3 Dec 2009 10:49:55 +0000 (3 10:49 +0000)
tree611282018fc1722eefe0681240a099974ce6792f
parent1bc8079879e8edfff451b62b7550bdd18523f963
ASoC: au1x: dbdma2: plug memleak in pcm device creation error path

free the allocated pcm platform device in the error path.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/au1x/dbdma2.c