summary refs log tree commit diff stats
path: root/hw/gus.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-09-11 10:27:41 +0400
committermalc <av1474@comtv.ru>2009-09-12 02:50:58 +0400
commit435c247a9fffe77940229220696abe82714da13e (patch)
treea4128c4673535da4f91141fce6bad7c69cfd2dcb /hw/gus.c
parent2182349d736e8548f122b091731025f5ed63f670 (diff)
downloadfocaccia-qemu-435c247a9fffe77940229220696abe82714da13e.tar.gz
focaccia-qemu-435c247a9fffe77940229220696abe82714da13e.zip
gus: Do not manually free the state, qdev does it for us
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'hw/gus.c')
-rw-r--r--hw/gus.c1
1 files changed, 0 insertions, 1 deletions
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;
     }