瀏覽代碼

Merge branch 'fix/misc' into for-linus

Takashi Iwai 15 年之前
父節點
當前提交
d69f309f04
共有 1 個文件被更改,包括 1 次插入0 次删除
  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;
 		}