aboutsummaryrefslogtreecommitdiff
path: root/hw/ne2000-isa.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-09-14 09:20:45 +0400
committermalc <av1474@comtv.ru>2009-09-14 09:21:00 +0400
commita61241035bf31661626b438d6dafd529e4f7a0e1 (patch)
treed7da815721d6e0e1c2def9951224c197e844f038 /hw/ne2000-isa.c
parentb4f763b86dda1de95d595e4630c6ea5485484580 (diff)
downloadqemu-a61241035bf31661626b438d6dafd529e4f7a0e1.zip
qemu-a61241035bf31661626b438d6dafd529e4f7a0e1.tar.gz
qemu-a61241035bf31661626b438d6dafd529e4f7a0e1.tar.bz2
ne2000-isa: Do not free memory owned by qdev
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'hw/ne2000-isa.c')
-rw-r--r--hw/ne2000-isa.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/ne2000-isa.c b/hw/ne2000-isa.c
index 9d8f7aa..54c0478 100644
--- a/hw/ne2000-isa.c
+++ b/hw/ne2000-isa.c
@@ -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)