]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/network/networkd-link.c
sd-ipv4ll: Add reference counting for IPv4LL
[thirdparty/systemd.git] / src / network / networkd-link.c
index 2630b4625a751a870943650a9a779cd20b9b6600..684e1e5d3d9ca9fc01d464c32cec9960ab7abb39 100644 (file)
@@ -83,7 +83,7 @@ void link_free(Link *link) {
         sd_dhcp_client_unref(link->dhcp_client);
         sd_dhcp_lease_unref(link->dhcp_lease);
 
-        sd_ipv4ll_free(link->ipv4ll);
+        sd_ipv4ll_unref(link->ipv4ll);
 
         hashmap_remove(link->manager->links, &link->ifindex);