mirror of https://gitee.com/openkylin/libvirt.git
Free DHCP leases file in networkGetDHCPLeasesHelper
Introduced by commit ba51398
This commit is contained in:
parent
364586d3ed
commit
15b46520e5
|
@ -3529,6 +3529,7 @@ networkGetDHCPLeasesHelper(virNetworkObjPtr obj,
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
VIR_FREE(lease);
|
VIR_FREE(lease);
|
||||||
|
VIR_FREE(lease_entries);
|
||||||
VIR_FREE(custom_lease_file);
|
VIR_FREE(custom_lease_file);
|
||||||
virJSONValueFree(leases_array);
|
virJSONValueFree(leases_array);
|
||||||
return rv;
|
return rv;
|
||||||
|
|
Loading…
Reference in New Issue