summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/sd-dhcp-lease.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-19 17:44:38 +0200
committerTom Gundersen <teg@jklm.no>2014-05-19 18:14:56 +0200
commit81d98a39eb4cca743beba27f4ae21a0e199df785 (patch)
tree543793bb8fb8b400de00365020c5fd988ba6c77f /src/libsystemd-network/sd-dhcp-lease.c
parent091a364c802e34a58f3260c9cb5db9b75c62215c (diff)
sd-dhcp-lease/sd-network: modernization and fix leak
Diffstat (limited to 'src/libsystemd-network/sd-dhcp-lease.c')
-rw-r--r--src/libsystemd-network/sd-dhcp-lease.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-network/sd-dhcp-lease.c b/src/libsystemd-network/sd-dhcp-lease.c
index 4993fe3641..cf71f116d1 100644
--- a/src/libsystemd-network/sd-dhcp-lease.c
+++ b/src/libsystemd-network/sd-dhcp-lease.c
@@ -174,6 +174,7 @@ sd_dhcp_lease *sd_dhcp_lease_unref(sd_dhcp_lease *lease) {
free(lease->hostname);
free(lease->domainname);
free(lease->dns);
+ free(lease->ntp);
free(lease);
}