[ALSA] Fix potential NULL pointer dereference in echoaudio midi
authorGiuliano Pochini <pochini@shiny.it>
Mon, 6 Nov 2006 10:42:00 +0000 (11:42 +0100)
committerJaroslav Kysela <perex@suse.cz>
Tue, 9 Jan 2007 08:06:13 +0000 (09:06 +0100)
commit5929546a96d55962bdcabae0c4e25dfcd9f1fda9
treee3aa538bda1d3b836cf4c9e3a9784f8639aef642
parent5b005a0126bc2a2be3ae2c333d56e91bd5e2d8a6
[ALSA] Fix potential NULL pointer dereference in echoaudio midi

Fix races between the timer handler and the close function.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/echoaudio/midi.c