diff options
| author | Bard liao <yung-chuan.liao@linux.intel.com> | 2019-01-25 14:06:45 -0600 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2019-01-29 18:03:32 +0000 |
| commit | 7620fe9161cec2722db880affe03f5e9e2bb93d5 (patch) | |
| tree | f33eaaa27c959e02dd9c993a117d3acd3a8f2fcc /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | ASoC: topology: Fix memory leak from soc_tplg_denum_create_texts (diff) | |
| download | linux-7620fe9161cec2722db880affe03f5e9e2bb93d5.tar.gz linux-7620fe9161cec2722db880affe03f5e9e2bb93d5.zip | |
ASoC: topology: fix memory leak in soc_tplg_dapm_widget_create
template.sname and template.name are only freed when an error occur.
They should be freed in the success return case, too.
Signed-off-by: Bard liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
