aboutsummaryrefslogtreecommitdiff
path: root/hw/isa-bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/isa-bus.c')
-rw-r--r--hw/isa-bus.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/isa-bus.c b/hw/isa-bus.c
index 4ecc0f8399..fb90be4e50 100644
--- a/hw/isa-bus.c
+++ b/hw/isa-bus.c
@@ -127,7 +127,6 @@ ISADevice *isa_create_simple(const char *name)
dev = isa_create(name);
if (qdev_init(&dev->qdev) != 0) {
- qdev_free(&dev->qdev);
return NULL;
}
return dev;