From b769339295cc6348c25e471e60608b93bdd155df Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Mon, 1 Mar 2010 13:09:42 +0100 Subject: [PATCH] Free the macvtap mode string * src/conf/domain_conf.c: forgot to free the attribute value in virDomainNetDefParseXML() --- src/conf/domain_conf.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.47.2