Skip to content
Commit d09a6b4a authored by Wei Yongjun's avatar Wei Yongjun Committed by Mark Brown
Browse files

ASoC: Intel: sst_byt: remove kfree for memory allocated with devm_kzalloc



It's not necessary to free memory allocated with devm_kzalloc
and using kfree leads to a double free.

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: default avatarJarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ac98b4c0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment