mirror of https://github.com/xemu-project/xemu.git
ne2000-isa: Do not free memory owned by qdev
Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
parent
b4f763b86d
commit
a61241035b
|
@ -45,8 +45,6 @@ static void isa_ne2000_cleanup(VLANClientState *vc)
|
|||
isa_unassign_ioport(isa->iobase, 16);
|
||||
isa_unassign_ioport(isa->iobase + 0x10, 2);
|
||||
isa_unassign_ioport(isa->iobase + 0x1f, 1);
|
||||
|
||||
qemu_free(s);
|
||||
}
|
||||
|
||||
static int isa_ne2000_initfn(ISADevice *dev)
|
||||
|
|
Loading…
Reference in New Issue