Skip to content
Commit 03a8b0df authored by Wan Jiabing's avatar Wan Jiabing Committed by Takashi Iwai
Browse files

ALSA: usb-audio: Fix wrong kfree issue in snd_usb_endpoint_free_all

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: c11117b6

 ("ALSA: usb-audio: Refcount multiple accesses on the single clock")
Signed-off-by: default avatarWan Jiabing <wanjiabing@vivo.com>
Link: https://lore.kernel.org/r/20220518021617.10114-1-wanjiabing@vivo.com
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 44d30762
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment