mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +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]);
|
||||
|
||||
virBufferAsprintf(buf, " </host>\n");
|
||||
VIR_FREE(ip);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user