diff options
author | Jie Yang <yang.jie@intel.com> | 2015-05-30 16:33:58 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-02 16:34:11 +0200 |
commit | 2dbc80caf7e93c3d49787cf939fc416873125c1b (patch) | |
tree | 96415a9dad4b9266e7bd61e7b778dc79e51fc56e /.gitignore | |
parent | ASoC: intel: Revert "ASoC: Intel: fix broadwell module removing failed issue" (diff) | |
download | linux-2dbc80caf7e93c3d49787cf939fc416873125c1b.tar.xz linux-2dbc80caf7e93c3d49787cf939fc416873125c1b.zip |
ASoC: Intel: check and clear runtime module pointer
Add check runtime module pointers before freeing them, and clear
them to NULL after freed.
With this implemented, we can avoid NULL pointer dereference or
double free errors.
Signed-off-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions