summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-12-19 08:34:04 +0100
committerTom Gundersen <teg@jklm.no>2014-12-19 08:34:04 +0100
commitbfcdba8d565041275319e5b1605c543d243ad7c4 (patch)
treed4db76a7d4d9499b8abefc8bd235b32acadbb021 /src/network
parent19727828d22057e9eb9160cae879ed5ced708517 (diff)
networkd: link - plug leak
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-link.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 93b53ee3c0..63c7a8bf24 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -259,6 +259,7 @@ static void link_free(Link *link) {
address_free(address);
}
+ sd_dhcp_server_unref(link->dhcp_server);
sd_dhcp_client_unref(link->dhcp_client);
sd_dhcp_lease_unref(link->dhcp_lease);