diff options
author | Dinghao Liu <[email protected]> | 2020-08-13 16:41:10 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-08-17 12:28:57 +0100 |
commit | 062fa09f44f4fb3776a23184d5d296b0c8872eb9 (patch) | |
tree | ec52f94ac190a94fc8fce28da782ef5959b13585 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | f082bb59b72039a2326ec1a44496899fb8aa6d0e (diff) |
ASoC: intel: Fix memleak in sst_media_open
When power_up_sst() fails, stream needs to be freed
just like when try_module_get() fails. However, current
code is returning directly and ends up leaking memory.
Fixes: 0121327c1a68b ("ASoC: Intel: mfld-pcm: add control for powering up/down dsp")
Signed-off-by: Dinghao Liu <[email protected]>
Acked-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions