Free DHCP leases file in networkGetDHCPLeasesHelper

Introduced by commit ba51398
This commit is contained in:
Ján Tomko 2014-06-24 14:40:14 +02:00
parent 364586d3ed
commit 15b46520e5
1 changed files with 1 additions and 0 deletions

View File

@ -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;