Akinobu Mita 4d36128592 [ALSA] sound: fix PCM substream list
If snd_pcm_new_stream() fails to initalize a substream (if
snd_pcm_substream_proc_init() returns error), snd_pcm_new_stream()
immediately return without unlinking that kfree()d substram.
It causes oops when snd_pcm_free() iterates the list of substream to
free them by invalid reference.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2006-12-20 08:56:00 +01:00
..
2006-12-20 08:55:54 +01:00
2006-12-20 08:55:37 +01:00
2006-12-08 08:28:49 -08:00
2005-11-04 13:18:08 +01:00
2006-01-03 12:17:43 +01:00
2006-12-20 08:56:00 +01:00
2006-12-20 08:55:36 +01:00