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

2014-03-31 Thread Eric Blake
On 03/30/2014 03:35 PM, Nehal J Wani wrote: While running virdbustest, it was found that valgrind pointed out the following memory leaks: ==9996== 17 (8 direct, 9 indirect) bytes in 1 blocks are definitely lost in loss record 9 of 36 ==9996==at 0x4A069EE: malloc

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

2014-03-30 Thread Nehal J Wani
While running virdbustest, it was found that valgrind pointed out the following memory leaks: ==9996== 17 (8 direct, 9 indirect) bytes in 1 blocks are definitely lost in loss record 9 of 36 ==9996==at 0x4A069EE: malloc (vg_replace_malloc.c:270) ==9996==by 0x4A06B62: realloc