Re: [libvirt] [PATCH] qemu: fix memory leak in virDomainGetVcpus

2012-04-02 Thread Laine Stump
On 04/02/2012 01:43 AM, Wen Congyang wrote: At 04/02/2012 01:33 PM, Laine Stump Wrote: https://bugzilla.redhat.com/show_bug.cgi?id=808979 The leak is really in virProcessInfoGetAffinity, as shown in the valgrind output given in the above bug report - it calls CPU_ALLOC(), but then fails to

[libvirt] [PATCH] qemu: fix memory leak in virDomainGetVcpus

2012-04-01 Thread Laine Stump
https://bugzilla.redhat.com/show_bug.cgi?id=808979 The leak is really in virProcessInfoGetAffinity, as shown in the valgrind output given in the above bug report - it calls CPU_ALLOC(), but then fails to call CPU_FREE(). This leak has existed in every version of libvirt since 0.7.5. ---

Re: [libvirt] [PATCH] qemu: fix memory leak in virDomainGetVcpus

2012-04-01 Thread Wen Congyang
At 04/02/2012 01:33 PM, Laine Stump Wrote: https://bugzilla.redhat.com/show_bug.cgi?id=808979 The leak is really in virProcessInfoGetAffinity, as shown in the valgrind output given in the above bug report - it calls CPU_ALLOC(), but then fails to call CPU_FREE(). This leak has existed in