qemu-e2k/hw/pci-bridge
Wei Jiangang 2e4278b534 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>
2016-04-07 19:57:33 +03:00
..
dec.c
dec.h
i82801b11.c
ioh3420.c
ioh3420.h
Makefile.objs
pci_bridge_dev.c
pci_expander_bridge.c hw/pci-bridge: Add missing unref in case register-bus fails 2016-04-07 19:57:33 +03:00
xio3130_downstream.c
xio3130_downstream.h
xio3130_upstream.c
xio3130_upstream.h