mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-11 12:25:52 +00:00
conf: Fix memory leak in virNetworkDNSDefFormat
This commit is contained in:
parent
eb9dee2b10
commit
c9f604fc4c
@ -945,6 +945,7 @@ virNetworkDNSDefFormat(virBufferPtr buf,
|
|||||||
def->hosts[ii].names[j]);
|
def->hosts[ii].names[j]);
|
||||||
|
|
||||||
virBufferAsprintf(buf, " </host>\n");
|
virBufferAsprintf(buf, " </host>\n");
|
||||||
|
VIR_FREE(ip);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user