Pierre-Louis Bossart 8edac489e7
ASoC: topology: fix tlvs in error handling for widget_dmixer
we need to free all allocated tlvs, not just the one allocated in
the loop before releasing kcontrols - other the tlvs references will
leak.

Fixes: 9f90af3a995298 ('ASoC: topology: Consolidate and fix asoc_tplg_dapm_widget_*_create flow')
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200707203749.113883-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-07-08 14:25:19 +01:00
..
2020-01-05 16:14:27 +01:00
2020-04-10 12:27:06 -07:00
2020-01-28 16:26:57 -08:00
2020-01-05 16:14:56 +01:00
2020-01-05 16:15:13 +01:00
2020-01-05 16:14:46 +01:00
2020-01-28 16:26:57 -08:00
2019-08-08 08:18:32 +02:00