diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-07-08 22:14:48 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-08 22:16:51 +0100 |
commit | 2210438b6aae9668cf89c272fef935b83aedf81d (patch) | |
tree | 68319ea9b5d9c5383618e7431588b0d33cbd70e4 /kernel/fork.c | |
parent | e18077b6e5dfe26e9fbbdc1fd1085a1701c24bea (diff) | |
download | talos-obmc-linux-2210438b6aae9668cf89c272fef935b83aedf81d.tar.gz talos-obmc-linux-2210438b6aae9668cf89c272fef935b83aedf81d.zip |
ASoC: Free card DAPM context on snd_soc_instantiate_card() error path
Make sure the to free the card DAPM context if snd_soc_instantiate_card()
fails, otherwise the memory allocated for the DAPM widgets is leaked.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions