summaryrefslogtreecommitdiff
path: root/src/network/networkd-link.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-link.c')
-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);