mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 21:15:20 +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)
|
if (def == NULL)
|
||||||
return;
|
return;
|
||||||
VIR_FREE(def->address);
|
VIR_FREE(def->address);
|
||||||
|
VIR_FREE(def);
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static
|
||||||
|
Loading…
x
Reference in New Issue
Block a user