qemu-e2k/qom
Paolo Bonzini 667d22d1ae qdev: move bus removal to object_unparent
Add an ObjectClass method that is done at object_unparent time.  It
should remove any backlinks to the object in the composition tree,
so that object_delete will be able to drop the last reference and
free the object.

Use it for qdev buses.

Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-11-26 13:41:00 -06:00
..
container.c qom: Fix memory leak in function container_get 2012-05-03 07:04:48 +02:00
cpu.c
Makefile.objs build: adapt qom/Makefile and move it to Makefile.objs 2012-06-07 09:21:12 +02:00
object.c qdev: move bus removal to object_unparent 2012-11-26 13:41:00 -06:00
qom-qobject.c