ALSA: opti93x - Fix NULL dereference
authorTakashi Iwai <tiwai@suse.de>
Thu, 17 Jul 2008 21:37:20 +0000 (23:37 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 18 Jul 2008 09:59:40 +0000 (11:59 +0200)
commit82af6bc0986c5140efc875b2d91326031f0254ab
treebb6124529c7f0c5489205beb3bb031eeaf40f5f3
parent2522d7359301efadfb5744ebd3c623c3af4a7b30
ALSA: opti93x - Fix NULL dereference

Probing non-existing device causes Oops with snd-opti93x driver
due to NULL access in the destructor of the error path.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Tested-by: Rene Herman <rene.herman@gmail.com>
Acked-by: Rene Herman <rene.herman@gmail.com>
Tested-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Ingo Molnar <mingo@elte.hu>
sound/isa/opti9xx/opti92x-ad1848.c