diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2023-10-26 11:25:58 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-10-26 14:25:44 +0300 |
commit | 168d97844a61db302dec76d44406e9d4d7106b8e (patch) | |
tree | b2371f12f06b09871b26fc037e9e4c52214b94bb /sound/soc/soc-dai.c | |
parent | 7dd692217b861a8292ff8ac2c9d4458538fd6b96 (diff) | |
download | linux-168d97844a61db302dec76d44406e9d4d7106b8e.tar.xz |
ASoC: Intel: Skylake: Fix mem leak when parsing UUIDs fails
Error path in snd_skl_parse_uuids() shall free last allocated module if
its instance_id allocation fails.
Fixes: f8e066521192 ("ASoC: Intel: Skylake: Fix uuid_module memory leak in failure case")
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20231026082558.1864910-1-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-dai.c')
0 files changed, 0 insertions, 0 deletions