ASoC: topology: Fix memory leak from soc_tplg_denum_create_texts
authorAmadeusz Sławiński <amadeuszx.slawinski@intel.com>
Fri, 25 Jan 2019 20:06:44 +0000 (14:06 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 29 Jan 2019 18:03:23 +0000 (18:03 +0000)
commit34db6a3e91d8f6f6fefbbd9ad7e1efc6f8d440e0
treebbba82e4957bc4811a430fda0a86ac297d560767
parenta46e8393d128d4e5f722b47f708a0d5de91e0176
ASoC: topology: Fix memory leak from soc_tplg_denum_create_texts

dtexts is two dimensional array, so we also need to free it after
freeing its fields.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c