Hi, the program was running on Fedora 20 (libvirt 1.1.3.5-2.fc20) and Ubuntu 14.04 (libvirt 1.2.2-0ubunt). So far the leak was observed only on the latter. On 09/12/14 16:22, Alex Jia wrote: > Hi Jun'ichi, > Which are libvirt version and OS you're using? I also found a leak of XMLDesc() via valgrind, > I think the generator should fix this, but you may wait for developers reply, thanks for > reporting this. > > <valgrind> > ==14265== 2,407 bytes in 1 blocks are definitely lost in loss record 1,457 of 1,550 > ==14265== at 0x4C2845D: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) > ==14265== by 0x5C46624: xdr_string (in /usr/lib64/libc-2.17.so) > ==14265== by 0xCFD9FCD: xdr_remote_nonnull_string (remote_protocol.c:31) > ==14265== by 0xCFDC2C8: xdr_remote_domain_get_xml_desc_ret (remote_protocol.c:1617) > ==14265== by 0xCFF0811: virNetMessageDecodePayload (virnetmessage.c:407) > ==14265== by 0xCFE68FB: virNetClientProgramCall (virnetclientprogram.c:379) > ==14265== by 0xCFBE8B1: callFull.isra.2 (remote_driver.c:6578) > ==14265== by 0xCFC7F04: remoteDomainGetXMLDesc (remote_driver.c:6600) > ==14265== by 0xCF8167C: virDomainGetXMLDesc (libvirt.c:4380) > ==14265== by 0xCC2C4DF: libvirt_virDomainGetXMLDesc (libvirt.c:1141) > ==14265== by 0x4F12B93: PyEval_EvalFrameEx (in /usr/lib64/libpython2.7.so.1.0) > ==14265== by 0x4F141AC: PyEval_EvalCodeEx (in /usr/lib64/libpython2.7.so.1.0) > </valgrind> -- Jun'ichi Nomura, NEC Corporation -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list