commit | 550b349af0f0e33fedb252aca8dc144299aca308 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Apr 14 22:11:20 2017 +0300 |
committer | Mark Brown <broonie@kernel.org> | Fri Apr 21 18:00:33 2017 +0100 |
tree | 0ec67c4d491d0a5cc30f185559e5a506cb2574de | |
parent | e6a33532affd14c12688c0e9b2e773e8b2550f3b [diff] |
ASoC: Intel: Skylake: Fix a couple user after free bugs We need to use the _safe() version of list_for_each_entry() here because of the kfree(modules). Fixes: b8c722ddd548 ("ASoC: Intel: Skylake: Add support for deferred DSP module bind") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mark Brown <broonie@kernel.org>