mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
conf: Don't leak the virtual port profile in virNetworkDefFree
Reported by Alex Jia.
This commit is contained in:
parent
a8be259d0c
commit
49b8d51edc
@ -169,6 +169,8 @@ void virNetworkDefFree(virNetworkDefPtr def)
|
||||
|
||||
virNetworkDNSDefFree(def->dns);
|
||||
|
||||
VIR_FREE(def->virtPortProfile);
|
||||
|
||||
virBandwidthDefFree(def->bandwidth);
|
||||
|
||||
VIR_FREE(def);
|
||||
|
Loading…
Reference in New Issue
Block a user