diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index ad2b280c6f480015d6dd4dfdb3ca8945b05ce741..3689ac0a82ce582f13e9cb5da065c744ea7a9556 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -15737,6 +15737,7 @@ virDomainMemoryDefParseXML(virDomainXMLOptionPtr xmlopt, def->discard = val; } + VIR_FREE(tmp); /* source */ if ((node = virXPathNode("./source", ctxt)) &&