conf: Don't leak the virtual port profile in virNetworkDefFree

Reported by Alex Jia.
This commit is contained in:
Matthias Bolte 2011-08-01 10:06:59 +02:00
parent a8be259d0c
commit 49b8d51edc
1 changed files with 2 additions and 0 deletions

View File

@ -169,6 +169,8 @@ void virNetworkDefFree(virNetworkDefPtr def)
virNetworkDNSDefFree(def->dns);
VIR_FREE(def->virtPortProfile);
virBandwidthDefFree(def->bandwidth);
VIR_FREE(def);