[GIT PULL] another sound fix for 4.5-rc4
From: Takashi Iwai
Date: Sat Feb 13 2016 - 11:22:09 EST
Linus,
please pull another sound fix for v4.5-rc4 from:
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-fix-4.5-rc4
The topmost commit is 07d86ca93db7e5cdf4743564d98292042ec21af7
----------------------------------------------------------------
another sound fix for 4.5-rc4
This contains the last-minute fix for the double-free of usb-audio
MIDI device at probe failure.
----------------------------------------------------------------
Andrey Konovalov (1):
ALSA: usb-audio: avoid freeing umidi object twice
---
sound/usb/midi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/usb/midi.c b/sound/usb/midi.c
index cc39f63299ef..007cf5831121 100644
--- a/sound/usb/midi.c
+++ b/sound/usb/midi.c
@@ -2455,7 +2455,6 @@ int snd_usbmidi_create(struct snd_card *card,
else
err = snd_usbmidi_create_endpoints(umidi, endpoints);
if (err < 0) {
- snd_usbmidi_free(umidi);
return err;
}