diff options
author | Cezary Rojewski <[email protected]> | 2023-10-26 10:25:58 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-10-26 12:25:44 +0100 |
commit | 168d97844a61db302dec76d44406e9d4d7106b8e (patch) | |
tree | b2371f12f06b09871b26fc037e9e4c52214b94bb /lib/memory-notifier-error-inject.c | |
parent | 7dd692217b861a8292ff8ac2c9d4458538fd6b96 (diff) |
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 <[email protected]>
Signed-off-by: Amadeusz Sławiński <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions