qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 435c247] gus: Do not manually free the state, qd


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 435c247] gus: Do not manually free the state, qdev does it for us
Date: Fri, 11 Sep 2009 23:37:28 -0000

From: malc <address@hidden>

Signed-off-by: malc <address@hidden>

diff --git a/hw/gus.c b/hw/gus.c
index 3df10e2..543b4ea 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;
     }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]