Skip to contentSkip to conversation

another sound fix for 4.5-rc4

GIT PULL Takashi Iwai 1 participant 1 message Feb 13, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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(-)
sound/usb/midi.c +0 -1
index cc39f63299ef..007cf5831121 100644
@@ -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;
 	}