Fix virInterfaceIpDefPtr leak during virInterfaceIpDefFree

* src/conf/interface_conf.c: forgot to free the structure itself
This commit is contained in:
Laine Stump 2009-11-03 20:02:52 +01:00 committed by Daniel Veillard
parent 3d4c1d94d7
commit 23eaae9aff

View File

@ -58,6 +58,7 @@ void virInterfaceIpDefFree(virInterfaceIpDefPtr def) {
if (def == NULL)
return;
VIR_FREE(def->address);
VIR_FREE(def);
}
static