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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index f4ab97fb17..1442230b51 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -283,12 +283,10 @@ static void link_free(Link *link) {
sd_dhcp_client_unref(link->dhcp_client);
sd_dhcp_lease_unref(link->dhcp_lease);
- unlink(link->lease_file);
free(link->lease_file);
sd_lldp_free(link->lldp);
- unlink(link->lldp_file);
free(link->lldp_file);
sd_ipv4ll_unref(link->ipv4ll);
@@ -300,7 +298,6 @@ static void link_free(Link *link) {
free(link->ifname);
- unlink(link->state_file);
free(link->state_file);
udev_device_unref(link->udev_device);