[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [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 redhat com>
> ---
>  python/libvirt-override.c |   36 ++++++++++++++++++++++++++----------
>  1 files changed, 26 insertions(+), 10 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]