mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
gus: Do not manually free the state, qdev does it for us
Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
parent
2182349d73
commit
435c247a9f
1 changed files with 0 additions and 1 deletions
1
hw/gus.c
1
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue