mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Fix virInterfaceIpDefPtr leak during virInterfaceIpDefFree
* src/conf/interface_conf.c: forgot to free the structure itself
This commit is contained in:
committed by
Daniel Veillard
parent
3d4c1d94d7
commit
23eaae9aff
@@ -58,6 +58,7 @@ void virInterfaceIpDefFree(virInterfaceIpDefPtr def) {
|
||||
if (def == NULL)
|
||||
return;
|
||||
VIR_FREE(def->address);
|
||||
VIR_FREE(def);
|
||||
}
|
||||
|
||||
static
|
||||
|
||||
Reference in New Issue
Block a user