X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fnetwork%2Fnetworkd-link.c;h=867baa6dee78a8f2adf3b19a039726e28f42b957;hb=ecd2f2c5947d9e2f4d6792c2a3a90b8ced6a5b3e;hp=2883f195da963f148d9935333c30624d113f9568;hpb=ba978d7b325998709fb19d368d290fa1dff37699;p=elogind.git diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 2883f195d..867baa6de 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -511,8 +511,6 @@ static int dhcp_lease_acquired(sd_dhcp_client *client, Link *link) { struct in_addr netmask; struct in_addr gateway; unsigned prefixlen; - _cleanup_address_free_ Address *addr = NULL; - _cleanup_route_free_ Route *rt = NULL; struct in_addr *nameservers; size_t nameservers_size; int r;