From: Stefan Berger Date: Mon, 1 Mar 2010 12:09:42 +0000 (+0100) Subject: Free the macvtap mode string X-Git-Tag: v0.7.7~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b769339295cc6348c25e471e60608b93bdd155df;p=thirdparty%2Flibvirt.git Free the macvtap mode string * src/conf/domain_conf.c: forgot to free the attribute value in virDomainNetDefParseXML() --- diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 4420445534..c1aa921d52 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -1974,6 +1974,7 @@ cleanup: VIR_FREE(type); VIR_FREE(internal); VIR_FREE(devaddr); + VIR_FREE(mode); return def;