ne2000-isa: Do not free memory owned by qdev
authormalc <av1474@comtv.ru>
Mon, 14 Sep 2009 05:20:45 +0000 (09:20 +0400)
committermalc <av1474@comtv.ru>
Mon, 14 Sep 2009 05:21:00 +0000 (09:21 +0400)
Signed-off-by: malc <av1474@comtv.ru>
hw/ne2000-isa.c

index 9d8f7aa..54c0478 100644 (file)
@@ -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)