commit | 09f448a415ece49ceb9d8f21f717aa3c0dbce851 | [log] [tgz] |
---|---|---|
author | Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> | Mon Jun 17 13:36:36 2019 +0200 |
committer | Mark Brown <broonie@kernel.org> | Tue Jun 25 15:33:04 2019 +0100 |
tree | 40a6647fe1c95465b187f2df3d4d04a049c40d07 | |
parent | 8a5b0177a7f6099ff534a4d9ce72673af5c3cade [diff] |
ASoC: compress: Fix memory leak from snd_soc_new_compress Change kzalloc to devm_kzalloc, so compr gets automatically freed when it's no longer needed. Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>