commit | cacea3a90e211f0c111975535508d446a4a928d2 | [log] [tgz] |
---|---|---|
author | Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com> | Fri Mar 22 18:00:09 2019 +0530 |
committer | Mark Brown <broonie@kernel.org> | Mon Mar 25 12:20:15 2019 +0000 |
tree | 6d9b85cb3306ef8345eb28a435a9887f5e2e9ec9 | |
parent | 8f71370f4b02730e8c27faf460af7a3586e24e1f [diff] |
ASoC: dapm: Fix NULL pointer dereference in snd_soc_dapm_free_kcontrol w_text_param can be NULL and it is being dereferenced without checking. Add the missing sanity check to prevent NULL pointer dereference. Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>