commit | 181a68927b9e6ff7c0ea093c2f056eeb0552a911 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Wed Mar 14 20:18:49 2012 +0000 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Thu Mar 15 14:28:25 2012 +0000 |
tree | 5e897ae095713dea4085908dd5c9f3519e3e9c51 | |
parent | 4eb98f45b77b00868dcebe4a0f00d2a36afd88c2 [diff] |
ASoC: core: Fix obscure leak of runtime array We're currently not freeing card->rtd in cases where the card is unregistered before being instantiated - convert it to devm_kzalloc() to make sure that happens. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>