diff --git a/src/conf/nwfilter_conf.c b/src/conf/nwfilter_conf.c index ea73a33e0fcc56ef989894ddf9066639bc5da957..fc6d4617bdce986475ac0163f4a99ddc6521fa4d 100644 --- a/src/conf/nwfilter_conf.c +++ b/src/conf/nwfilter_conf.c @@ -1767,6 +1767,7 @@ virNWFilterDefParseXML(xmlXPathContextPtr ctxt) { return ret; cleanup: + virNWFilterDefFree(ret); VIR_FREE(chain); VIR_FREE(uuid); return NULL;