linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / sound / pci / emu10k1 / emu10k1_synth.c
index 204995a..1fa393f 100644 (file)
@@ -62,6 +62,7 @@ static int snd_emu10k1_synth_new_device(struct snd_seq_device *dev)
 
        if (snd_emux_register(emu, dev->card, arg->index, "Emu10k1") < 0) {
                snd_emux_free(emu);
+               emu->hw = NULL;
                return -ENOMEM;
        }