lkml.org 
[lkml]   [2016]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[GIT PULL] another sound fix for 4.5-rc4
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;
}

\
 
 \ /
  Last update: 2016-02-13 17:41    [W:0.018 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site