]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: Free memory in the error paths of soc_of_parse_audio_routing()
authorMatthias Kaehlcke <matthias@kaehlcke.net>
Wed, 11 Jul 2012 15:36:34 +0000 (17:36 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 11 Jul 2012 17:40:57 +0000 (18:40 +0100)
commitb761c0ca2e964a240d74e50da9e27dc0b3be0649
tree30fc823891c0cba7aff989d0d932eed04bddc1a3
parent5c6af635fd77251b753cb1c07a6a6f306ba4e287
ASoC: Free memory in the error paths of soc_of_parse_audio_routing()

Release the memory of the routing table before leaving the function upon errors
in the device tree

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c