diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-01-11 08:22:32 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-01-11 16:57:24 +0100 |
commit | 10b1a5a99c6ac42be7a490676aec626fba28b048 (patch) | |
tree | 51d0b4702cdfdc9c59ec548ccbc1dceb26a6259f /sound/hda | |
parent | Merge tag 'asoc-v5.17-2' of https://git.kernel.org/pub/scm/linux/kernel/git/b... (diff) | |
download | linux-10b1a5a99c6ac42be7a490676aec626fba28b048.tar.xz linux-10b1a5a99c6ac42be7a490676aec626fba28b048.zip |
ALSA: hda: cs35l41: fix double free on error in probe()
If we encounter an error after the kfree(acpi_hw_cfg); then the goto
err; will result in a double free.
Fixes: 7b2f3eb492da ("ALSA: hda: cs35l41: Add support for CS35L41 in HDA systems")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20220111072232.GG11243@kili
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda')
0 files changed, 0 insertions, 0 deletions