diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2023-03-07 14:48:15 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-03-07 16:57:58 +0300 |
commit | 6ba8ddf86a3ada463e9952a19b069f978a70a748 (patch) | |
tree | 77d260a112a6c1caeb49f3e8cee39728330afc5b /tools/perf/scripts/python/stackcollapse.py | |
parent | 858a438a6cf919e5727d2a0f5f3f0e68b2d5354e (diff) | |
download | linux-6ba8ddf86a3ada463e9952a19b069f978a70a748.tar.xz |
ASoC: SOF: topology: Fix error handling in sof_widget_ready()
Fix the error paths in sof_widget_ready() to free all allocated memory
and prevent memory leaks.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230307114815.4909-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions