summary refs log tree commit diff stats
path: root/ui/console.c
diff options
context:
space:
mode:
authorWei Jiangang <weijg.fnst@cn.fujitsu.com>2016-03-23 15:26:19 +0800
committerMichael S. Tsirkin <mst@redhat.com>2016-04-07 19:57:33 +0300
commit2e4278b534997d8f33a6e8b7923c168f5e5c89c7 (patch)
treebded7f4b03e82a070168f094dceb91c877b0d4d4 /ui/console.c
parenta378b49a4338ef61b86f4c74a1069036c7409141 (diff)
downloadfocaccia-qemu-2e4278b534997d8f33a6e8b7923c168f5e5c89c7.tar.gz
focaccia-qemu-2e4278b534997d8f33a6e8b7923c168f5e5c89c7.zip
hw/pci-bridge: Add missing unref in case register-bus fails
The error paths after a successful qdev_create/pci_bus_new
should contain a object_unref/object_unparent.
pxb_dev_init_common() did not yet, so add it.

Signed-off-by: Wei Jiangang <weijg.fnst@cn.fujitsu.com>
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'ui/console.c')
0 files changed, 0 insertions, 0 deletions