Re: [libvirt] [PATCHv2 10/12] pci: eliminate leak in OOM condition

2013-06-25 Thread Daniel P. Berrange
On Mon, Jun 24, 2013 at 11:05:36PM -0400, Laine Stump wrote: > 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 | 8 +++- > 1 file changed, 3 inser

[libvirt] [PATCHv2 10/12] pci: eliminate leak in OOM condition

2013-06-24 Thread Laine Stump
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 | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/util/virpci.c b/src/util/virpc