summaryrefslogtreecommitdiff
path: root/sound/soc/soc-pcm.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2014-10-07 15:41:23 +0400
committerMark Brown <broonie@kernel.org>2014-10-07 16:12:28 +0400
commitdecc27b01d584c985c231e73d3b493de6ec07af8 (patch)
treef8a453869deb5eea00e7f41ec4f1f8de5c492be2 /sound/soc/soc-pcm.c
parent6596aa047b624aeec2ea321962cfdecf9953a383 (diff)
downloadlinux-decc27b01d584c985c231e73d3b493de6ec07af8.tar.xz
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
Diffstat (limited to 'sound/soc/soc-pcm.c')
0 files changed, 0 insertions, 0 deletions