diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-12-03 14:26:33 -0700 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-09 18:43:06 +0000 |
commit | 6b9f3e65282b3bd7ed77e7b2b1edfe7cfed48115 (patch) | |
tree | 34c6cb37ce036b9f7af4e3479a2f9b9e4dab147e /arch/score/Kconfig | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) | |
download | linux-6b9f3e65282b3bd7ed77e7b2b1edfe7cfed48115.tar.bz2 |
ASoC: don't leak on error in snd_dmaengine_pcm_register
If snd_dmaengine_pcm_register()'s call to snd_soc_add_platform() fails,
all objects allocated during registration are leaked. Fix this by adding
error-handling code.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'arch/score/Kconfig')
0 files changed, 0 insertions, 0 deletions