Revision e163ae7b hw/qdev.c
b/hw/qdev.c | ||
---|---|---|
700 | 700 |
QLIST_REMOVE(bus, sibling); |
701 | 701 |
bus->parent->num_child_bus--; |
702 | 702 |
} |
703 |
qemu_free((void*)bus->name); |
|
703 | 704 |
if (bus->qdev_allocated) { |
704 | 705 |
qemu_free(bus); |
705 | 706 |
} |
Also available in: Unified diff