From a61241035bf31661626b438d6dafd529e4f7a0e1 Mon Sep 17 00:00:00 2001 From: malc Date: Mon, 14 Sep 2009 09:20:45 +0400 Subject: ne2000-isa: Do not free memory owned by qdev Signed-off-by: malc --- hw/ne2000-isa.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'hw') 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) -- cgit v1.1