From 435c247a9fffe77940229220696abe82714da13e Mon Sep 17 00:00:00 2001 From: malc Date: Fri, 11 Sep 2009 10:27:41 +0400 Subject: [PATCH] gus: Do not manually free the state, qdev does it for us Signed-off-by: malc --- hw/gus.c | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.34.1