[PATCH] ALSA: hda: cs35l41: fix double free on error in probe()
Takashi Iwai
tiwai at suse.de
Tue Jan 11 17:09:17 CET 2022
On Tue, 11 Jan 2022 08:22:32 +0100,
Dan Carpenter wrote:
>
> 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 at oracle.com>
Thanks, applied now.
Takashi
More information about the Alsa-devel
mailing list