[libvirt] [PATCH 1/3] virDomainDiskSourceNetworkParse: Don't leak @tlsCfg or @haveTLS

Peter Krempa pkrempa at redhat.com
Fri Dec 1 09:15:37 UTC 2017


On Fri, Dec 01, 2017 at 10:09:44 +0100, Michal Privoznik wrote:
> ==861== 3 bytes in 1 blocks are definitely lost in loss record 3 of 168
> ==861==    at 0x4C2AEDF: malloc (vg_replace_malloc.c:299)
> ==861==    by 0x8C7FBC8: xmlStrndup (in /usr/lib64/libxml2.so.2.9.4)
> ==861==    by 0x5DCCDC2: virXMLPropString (virxml.c:510)
> ==861==    by 0x5DF1232: virDomainDiskSourceNetworkParse (domain_conf.c:8445)
> ==861==    by 0x5DF1728: virDomainDiskSourceParse (domain_conf.c:8576)
> ==861==    by 0x5DF41A5: virDomainDiskDefParseXML (domain_conf.c:9238)
> ==861==    by 0x5E1119F: virDomainDefParseXML (domain_conf.c:19233)
> ==861==    by 0x5E146EE: virDomainDefParseNode (domain_conf.c:20083)
> ==861==    by 0x5E14540: virDomainDefParse (domain_conf.c:20027)
> ==861==    by 0x5E145E6: virDomainDefParseFile (domain_conf.c:20053)
> ==861==    by 0x4053CC: testCompareXMLToArgv (qemuxml2argvtest.c:455)
> ==861==    by 0x41F135: virTestRun (testutils.c:180)
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/conf/domain_conf.c | 2 ++
>  1 file changed, 2 insertions(+)

ACK for freeze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20171201/5299cdb1/attachment-0001.sig>


More information about the libvir-list mailing list