From: malc Date: Fri, 11 Sep 2009 06:27:41 +0000 (+0400) Subject: gus: Do not manually free the state, qdev does it for us X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=435c247a9fffe77940229220696abe82714da13e;p=qemu.git gus: Do not manually free the state, qdev does it for us Signed-off-by: malc --- diff --git a/hw/gus.c b/hw/gus.c index 3df10e29e7..543b4ea68c 100644 --- a/hw/gus.c +++ b/hw/gus.c @@ -268,7 +268,6 @@ static int gus_initfn (ISADevice *dev) if (!s->voice) { AUD_remove_card (&s->card); - qemu_free (s); return -1; }