diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-07-07 23:37:46 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-08 16:25:19 +0300 |
commit | 8edac489e7c3fce44208373bb3e7b5835a672c66 (patch) | |
tree | 2d79f7c164ce7899a058a663685319cc091e14a0 /sound/parisc | |
parent | 6f0307df83f2aa6bdf656c2219c89ce96502d20e (diff) | |
download | linux-8edac489e7c3fce44208373bb3e7b5835a672c66.tar.xz |
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>
Diffstat (limited to 'sound/parisc')
0 files changed, 0 insertions, 0 deletions