[ALSA] NULL pointer dereference in sound/synth/emux/soundfont.c
authorEric Sesterhenn <snakebyte@gmx.de>
Wed, 31 May 2006 09:55:17 +0000 (11:55 +0200)
committerJaroslav Kysela <perex@suse.cz>
Thu, 22 Jun 2006 19:34:05 +0000 (21:34 +0200)
commitd20cad602fc3d92902dc3b4ed252359ab05eae0f
treeb2a2c5ffd6b94317ea26a7a349d44993d95d6dce
parentf26eb78fcfb5b76fbe6d3e740b6fedda611f8395
[ALSA] NULL pointer dereference in sound/synth/emux/soundfont.c

this is about coverity id #100.
It seems the if statement is negated, since the else branch calls
remove_info() with sflist->currsf as a parameter where it gets
dereferenced.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/synth/emux/soundfont.c