]> git.ipfire.org Git - thirdparty/libvirt.git/commit
pci: eliminate leak in OOM condition
authorLaine Stump <laine@laine.org>
Tue, 25 Jun 2013 01:30:55 +0000 (21:30 -0400)
committerLaine Stump <laine@laine.org>
Tue, 25 Jun 2013 22:24:43 +0000 (18:24 -0400)
commit2a2739a8664c9f9dc3f08db8a272e5bf7b6af5db
tree3e6b597e1600d9bea57d30b60e97c3dc0d6dd8a7
parent0e89a543be97465e13cab467dbd09a09040fe593
pci: eliminate leak in OOM condition

The "fix" I pushed a few commits ago would still leak a virPCIDevice
in case of an OOM error. Although it's inconsequential in practice,
this patch satisfies my OCD.
src/util/virpci.c