[ALSA] Fix use after free in opl3_seq and opl3_oss
authorDave Jones <davej@redhat.com>
Mon, 6 Mar 2006 13:03:37 +0000 (14:03 +0100)
committerJaroslav Kysela <perex@suse.cz>
Wed, 22 Mar 2006 09:36:15 +0000 (10:36 +0100)
Modules: OPL3

Don't read from free'd memory.  Also make use of the return
value, and don't register the device if something went wrong
creating the port.

Coverity #954, #955

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found