Thanks and pushed now. ----- Original Message ----- From: "Eric Blake" <eblake@xxxxxxxxxx> To: "Alex Jia" <ajia@xxxxxxxxxx> Cc: libvir-list@xxxxxxxxxx Sent: Thursday, March 22, 2012 1:14:53 AM Subject: Re: [PATCHv2] python: Avoid memory leaks on libvirt_virNodeGetCPUStats On 03/21/2012 10:28 AM, Alex Jia wrote: > Detected by valgrind. Leaks are introduced in commit 4955602. > > * python/libvirt-override.c (libvirt_virNodeGetCPUStats): fix memory leaks > and improve codes return value. > > For details, please see the following link: > RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=770943 > > > Signed-off-by: Alex Jia <ajia@xxxxxxxxxx> > --- > python/libvirt-override.c | 36 ++++++++++++++++++++++++++---------- > 1 files changed, 26 insertions(+), 10 deletions(-) ACK. -- Eric Blake eblake@xxxxxxxxxx +1-919-301-3266 Libvirt virtualization library http://libvirt.org -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list