Don't leak str in virDomainNetDefCoalesceParseXML

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Martin Kletzander 2017-04-22 14:39:13 +02:00
parent 997134fb8b
commit f08e26a19a

View File

@ -6811,6 +6811,7 @@ virDomainNetDefCoalesceParseXML(xmlNodePtr node,
ret->rx_max_coalesced_frames = tmp; ret->rx_max_coalesced_frames = tmp;
cleanup: cleanup:
VIR_FREE(str);
ctxt->node = save; ctxt->node = save;
return ret; return ret;