diff --git a/sound/usb/stream.c b/sound/usb/stream.c index d9e3de495c163a3bbca99164fe25b047c055d882..bc582202bd10199cf465324d84f3a1a132019cb2 100644 --- a/sound/usb/stream.c +++ b/sound/usb/stream.c @@ -1053,6 +1053,7 @@ snd_usb_get_audioformat_uac3(struct snd_usb_audio *chip, pd = kzalloc(sizeof(*pd), GFP_KERNEL); if (!pd) { + kfree(fp->chmap); kfree(fp->rate_table); kfree(fp); return NULL;