Re: [libvirt] [PATCH] Fix Memory Leak in virQEMUCapsInitGuestFromBinary()

2014-03-26 Thread Daniel P. Berrange
On Thu, Mar 27, 2014 at 12:00:49AM +0530, Nehal J Wani wrote: > While running qemucaps2xmltest, it was found that valgrind pointed out > the following memory leaks: > > ==29896== 0 bytes in 1 blocks are definitely lost in loss record 1 of 65 > ==29896==at 0x4A0577B: calloc (vg_replace_malloc.c

[libvirt] [PATCH] Fix Memory Leak in virQEMUCapsInitGuestFromBinary()

2014-03-26 Thread Nehal J Wani
While running qemucaps2xmltest, it was found that valgrind pointed out the following memory leaks: ==29896== 0 bytes in 1 blocks are definitely lost in loss record 1 of 65 ==29896==at 0x4A0577B: calloc (vg_replace_malloc.c:593) ==29896==by 0x4C6B45E: virAllocN (viralloc.c:191) ==29896==