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
..
2016-04-07 19:57:33 +03:00
2016-04-07 19:57:33 +03:00
2016-04-07 19:57:33 +03:00
2016-04-07 19:57:33 +03:00
2016-01-29 15:07:25 +00:00
2016-01-29 15:07:25 +00:00
2016-03-24 21:42:40 +00:00
2016-03-29 17:39:41 +01:00
2016-01-29 15:07:23 +00:00
2015-12-22 18:39:19 +02:00