mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] another sound fix for 4.5-rc4
@ 2016-02-13 16:21 Takashi Iwai
  0 siblings, 0 replies; only message in thread
From: Takashi Iwai @ 2016-02-13 16:21 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel

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;
 	}
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-13 16:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-13 16:21 [GIT PULL] another sound fix for 4.5-rc4 Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®