Re: [libvirt] [PATCHv4] python: Avoid memory leaks on libvirt_virNodeGetMemoryStats

2012-03-21 Thread Alex Jia
] [PATCHv4] python: Avoid memory leaks on libvirt_virNodeGetMemoryStats On 03/20/2012 01:14 AM, Alex Jia wrote: Detected by valgrind. Leaks are introduced in commit 17c7795. * python/libvirt-override.c (libvirt_virNodeGetMemoryStats): fix memory leaks and improve codes return value. For details

[libvirt] [PATCHv4] python: Avoid memory leaks on libvirt_virNodeGetMemoryStats

2012-03-20 Thread Alex Jia
Detected by valgrind. Leaks are introduced in commit 17c7795. * python/libvirt-override.c (libvirt_virNodeGetMemoryStats): fix memory leaks and improve codes return value. For details, please see the following link: RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=770944 Signed-off-by: Alex

Re: [libvirt] [PATCHv4] python: Avoid memory leaks on libvirt_virNodeGetMemoryStats

2012-03-20 Thread Eric Blake
On 03/20/2012 01:14 AM, Alex Jia wrote: Detected by valgrind. Leaks are introduced in commit 17c7795. * python/libvirt-override.c (libvirt_virNodeGetMemoryStats): fix memory leaks and improve codes return value. For details, please see the following link: RHBZ: