Skip to content
Commit 80aa796b authored by Jason Baron's avatar Jason Baron Committed by Michael S. Tsirkin
Browse files

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: default avatarJason Baron <jbaron@redhat.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 266ca11a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment