Browse Source

Merge branch 'fix/misc' into for-linus

Takashi Iwai 15 years ago
parent
commit
d69f309f04
1 changed files with 1 additions and 0 deletions
  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;
 		}