commit | 2dbc80caf7e93c3d49787cf939fc416873125c1b | [log] [tgz] |
---|---|---|
author | Jie Yang <yang.jie@intel.com> | Sat May 30 22:33:58 2015 +0800 |
committer | Mark Brown <broonie@kernel.org> | Tue Jun 02 15:34:11 2015 +0100 |
tree | 96415a9dad4b9266e7bd61e7b778dc79e51fc56e | |
parent | 6e5132f79a2e441bde4818abdc813859c8064901 [diff] |
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>