Re: [libvirt] [PATCH] Fix a qemuDomainPCIAddressSetFree memory leak

2010-04-29 Thread Chris Lalancette
On 04/28/2010 05:08 PM, Eric Blake wrote: > On 04/28/2010 02:27 PM, Chris Lalancette wrote: >> qemuDomainPCIAddressSetFree was freeing up the hash >> table for the pci addresses, but not freeing up the addr >> structure. Looking over the callers of this function, it >> seems like they expect it to

Re: [libvirt] [PATCH] Fix a qemuDomainPCIAddressSetFree memory leak

2010-04-28 Thread Eric Blake
On 04/28/2010 02:27 PM, Chris Lalancette wrote: > qemuDomainPCIAddressSetFree was freeing up the hash > table for the pci addresses, but not freeing up the addr > structure. Looking over the callers of this function, it > seems like they expect it to also free up the structure, > so do that here.

[libvirt] [PATCH] Fix a qemuDomainPCIAddressSetFree memory leak

2010-04-28 Thread Chris Lalancette
qemuDomainPCIAddressSetFree was freeing up the hash table for the pci addresses, but not freeing up the addr structure. Looking over the callers of this function, it seems like they expect it to also free up the structure, so do that here. Signed-off-by: Chris Lalancette --- src/qemu/qemu_conf.