commit | decc27b01d584c985c231e73d3b493de6ec07af8 | [log] [tgz] |
---|---|---|
author | Daniel Mack <daniel@zonque.org> | Tue Oct 07 13:41:23 2014 +0200 |
committer | Mark Brown <broonie@kernel.org> | Tue Oct 07 13:12:28 2014 +0100 |
tree | f8a453869deb5eea00e7f41ec4f1f8de5c492be2 | |
parent | 6596aa047b624aeec2ea321962cfdecf9953a383 [diff] |
ASoC: core: fix use after free in snd_soc_remove_platform() Coverity spotted an use-after-free condition in snd_soc_remove_platform(). Fix this by moving snd_soc_component_cleanup() after the debug print statement which uses the component's string. Signed-off-by: Daniel Mack <daniel@zonque.org> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org