[libvirt] [PATCH] conf: fix memleak in qemuRestoreCgroupState

2015-04-08 Thread Luyao Huang
131,088 bytes in 16 blocks are definitely lost in loss record 2,174 of 2,176 at 0x4C29BFD: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x4C2BACB: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x52A026F: virReallocN (viralloc.c:245)

Re: [libvirt] [PATCH] conf: fix memleak in qemuRestoreCgroupState

2015-04-08 Thread Ján Tomko
The subject prefix is incorrect - this is not in src/conf. I just removed it completely, there's still a reference to qemu driver in the function name. On Wed, Apr 08, 2015 at 02:25:59PM +0800, Luyao Huang wrote: 131,088 bytes in 16 blocks are definitely lost in loss record 2,174 of 2,176

Re: [libvirt] [PATCH] conf: fix memleak in qemuRestoreCgroupState

2015-04-08 Thread lhuang
On 04/08/2015 06:00 PM, Ján Tomko wrote: The subject prefix is incorrect - this is not in src/conf. I just removed it completely, there's still a reference to qemu driver in the function name. Oh, that is a mistake, i can't remember why i chose conf as this commit subject prefix (maybe i