gus: Do not manually free the state, qdev does it for us

Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
malc 2009-09-11 10:27:41 +04:00
parent 2182349d73
commit 435c247a9f

View File

@ -268,7 +268,6 @@ static int gus_initfn (ISADevice *dev)
if (!s->voice) { if (!s->voice) {
AUD_remove_card (&s->card); AUD_remove_card (&s->card);
qemu_free (s);
return -1; return -1;
} }