[PATCH] ALSA: usb-audio: Fix wrong kfree issue in snd_usb_endpoint_free_all
Takashi Iwai
tiwai at suse.de
Wed May 18 07:00:28 CEST 2022
On Wed, 18 May 2022 04:16:16 +0200,
Wan Jiabing wrote:
>
> Fix following coccicheck error:
> ./sound/usb/endpoint.c:1671:8-10: ERROR: reference preceded by free on line 1671.
>
> Here should be 'cp' rather than 'ip'.
>
> Fixes: c11117b634f4 ("ALSA: usb-audio: Refcount multiple accesses on the single clock")
> Signed-off-by: Wan Jiabing <wanjiabing at vivo.com>
Oh, that was a silly failure.
Applied now, thanks!
Takashi
More information about the Alsa-devel
mailing list