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-Tag: v0.12.0-rc0~1135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=435c247a9fffe77940229220696abe82714da13e;p=thirdparty%2Fqemu.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 3df10e29e7e..543b4ea68c4 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; }