mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
conf: Fix memory leak in virNetworkDNSDefFormat
This commit is contained in:
@@ -945,6 +945,7 @@ virNetworkDNSDefFormat(virBufferPtr buf,
|
||||
def->hosts[ii].names[j]);
|
||||
|
||||
virBufferAsprintf(buf, " </host>\n");
|
||||
VIR_FREE(ip);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user