Explorar o código

Merge branch 'fix/misc' into for-linus

Takashi Iwai %!s(int64=15) %!d(string=hai) anos
pai
achega
d69f309f04
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      sound/usb/endpoint.c

+ 1 - 0
sound/usb/endpoint.c

@@ -427,6 +427,7 @@ int snd_usb_parse_audio_endpoints(struct snd_usb_audio *chip, int iface_no)
 		if (snd_usb_parse_audio_format(chip, fp, format, fmt, stream, alts) < 0) {
 			kfree(fp->rate_table);
 			kfree(fp);
+			fp = NULL;
 			continue;
 		}