]> git.baikalelectronics.ru Git - kernel.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)
commit826f72b6044c17d6307678508f04b01dc2f82c49
tree30fc823891c0cba7aff989d0d932eed04bddc1a3
parent2ff047695f8a9261c40a4ad71d5b12e08981d624
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