summary refs log tree commit diff stats
path: root/scripts/qapi-gen.py
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-06-13 19:28:15 +0200
committerGerd Hoffmann <kraxel@redhat.com>2018-06-18 09:15:51 +0200
commit0d1e8d6f4a2ced75f673edfe4d6cb78f3b361144 (patch)
treeb2b2920adfe91b96ff88a4de8182cc19d8ade5ba /scripts/qapi-gen.py
parent9b5c2fd53feb574036747d0284fd7f73dfedc89c (diff)
downloadfocaccia-qemu-0d1e8d6f4a2ced75f673edfe4d6cb78f3b361144.tar.gz
focaccia-qemu-0d1e8d6f4a2ced75f673edfe4d6cb78f3b361144.zip
Revert "bus: do not unref the added child bus on realize"
This is wrong.  object_finalize_child_property()'s unref balances the
ref in object_property_add_child().  qbus_realize's unref balances the
ref that was initially placed by object_new/object_initialize.

This reverts commit f3d58385a6d3d82f65db602c5506e2d3d8c82394.

Reported-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20180613172815.32738-4-marcandre.lureau@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts/qapi-gen.py')
0 files changed, 0 insertions, 0 deletions