aboutsummaryrefslogtreecommitdiff
path: root/hw/pci.c
diff options
context:
space:
mode:
authorJason Baron <jbaron@redhat.com>2012-05-02 22:42:15 -0400
committerMichael S. Tsirkin <mst@redhat.com>2012-06-11 22:55:13 +0300
commit80aa796bf38b7ef21daa42673b4711510c450d8a (patch)
tree4285fabc369601809ec99108b510fbe78aad50d9 /hw/pci.c
parent266ca11a0433643a3cc3146a9837d9f2b0bfbe3b (diff)
pci_bridge_dev: fix error path in pci_bridge_dev_initfn()
Currently, we do not properly cleanup, if pci_bridge_dev_initfn fails to initialize properly. Make sure to call pci_bridge_exitfn() in the error path. Signed-off-by: Jason Baron <jbaron@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci.c')
0 files changed, 0 insertions, 0 deletions