chiark / gitweb /
networkd: link - plug leak
authorTom Gundersen <teg@jklm.no>
Fri, 19 Dec 2014 07:34:04 +0000 (08:34 +0100)
committerTom Gundersen <teg@jklm.no>
Fri, 19 Dec 2014 07:34:04 +0000 (08:34 +0100)
src/network/networkd-link.c

index 93b53ee..63c7a8b 100644 (file)
@@ -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);