]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Free the macvtap mode string
authorStefan Berger <stefanb@us.ibm.com>
Mon, 1 Mar 2010 12:09:42 +0000 (13:09 +0100)
committerDaniel Veillard <veillard@redhat.com>
Mon, 1 Mar 2010 12:09:42 +0000 (13:09 +0100)
* src/conf/domain_conf.c: forgot to free the attribute value in
  virDomainNetDefParseXML()

src/conf/domain_conf.c

index 442044553455f52e52099a473f2f77f89ccba23f..c1aa921d52ae3886e73ab15d207d60ec52e4d2e4 100644 (file)
@@ -1974,6 +1974,7 @@ cleanup:
     VIR_FREE(type);
     VIR_FREE(internal);
     VIR_FREE(devaddr);
+    VIR_FREE(mode);
 
     return def;