diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2023-10-26 11:25:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-20 12:27:34 +0300 |
commit | 74cc5cb56bbaf93bbb7f8392791a5841e4d3a7ab (patch) | |
tree | 88cda127d9af4b601edd779cb2842d442d56cacd /drivers/tty/mxser.h | |
parent | b8ead75c62558fe8a223359cce83218ca764a952 (diff) | |
download | linux-74cc5cb56bbaf93bbb7f8392791a5841e4d3a7ab.tar.xz |
ASoC: Intel: Skylake: Fix mem leak when parsing UUIDs fails
[ Upstream commit 168d97844a61db302dec76d44406e9d4d7106b8e ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/tty/mxser.h')
0 files changed, 0 insertions, 0 deletions