mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 13:05:27 +00:00
Fix virInterfaceIpDefPtr leak during virInterfaceIpDefFree
* src/conf/interface_conf.c: forgot to free the structure itself
This commit is contained in:
parent
3d4c1d94d7
commit
23eaae9aff
@ -58,6 +58,7 @@ void virInterfaceIpDefFree(virInterfaceIpDefPtr def) {
|
||||
if (def == NULL)
|
||||
return;
|
||||
VIR_FREE(def->address);
|
||||
VIR_FREE(def);
|
||||
}
|
||||
|
||||
static
|
||||
|
Loading…
x
Reference in New Issue
Block a user