diff options
author | Jason Baron <jbaron@redhat.com> | 2012-05-02 22:42:15 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2012-06-11 22:55:13 +0300 |
commit | 80aa796bf38b7ef21daa42673b4711510c450d8a (patch) | |
tree | 4285fabc369601809ec99108b510fbe78aad50d9 /qlist.h | |
parent | 266ca11a0433643a3cc3146a9837d9f2b0bfbe3b (diff) | |
download | qemu-80aa796bf38b7ef21daa42673b4711510c450d8a.zip qemu-80aa796bf38b7ef21daa42673b4711510c450d8a.tar.gz qemu-80aa796bf38b7ef21daa42673b4711510c450d8a.tar.bz2 |
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 'qlist.h')
0 files changed, 0 insertions, 0 deletions