[libvirt] [PATCH] Fix memory leak in virDomainChrSourceDefClear()

2014-03-18 Thread Nehal J Wani
While running qemuxml2xmltest, it was found that valgrind pointed out the following memory leak: ==21905== 26 bytes in 1 blocks are definitely lost in loss record 23 of 69 ==21905==at 0x4A069EE: malloc (vg_replace_malloc.c:270) ==21905==by 0x3E782A754D: xmlStrndup (in

Re: [libvirt] [PATCH] Fix memory leak in virDomainChrSourceDefClear()

2014-03-18 Thread Martin Kletzander
On Tue, Mar 18, 2014 at 01:02:24PM +0530, Nehal J Wani wrote: While running qemuxml2xmltest, it was found that valgrind pointed out the following memory leak: ==21905== 26 bytes in 1 blocks are definitely lost in loss record 23 of 69 ==21905==at 0x4A069EE: malloc