summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-06-20 13:04:02 +0200
committerTom Gundersen <teg@jklm.no>2014-06-20 13:04:02 +0200
commit6b66097b9534da434cdb56d22c49452cfc0dcaf1 (patch)
tree3e8e13b0fee7ebd09ded37accb0980f99c5db24d
parent6278a2019055ba63bfa80c2b107e16616ca648b1 (diff)
networkd: link - fix memleak of icmp6 struct
-rw-r--r--src/network/networkd-link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 664cc07c72..44147b2c0d 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -124,8 +124,8 @@ static void link_free(Link *link) {
free(link->lease_file);
sd_ipv4ll_unref(link->ipv4ll);
-
sd_dhcp6_client_unref(link->dhcp6_client);
+ sd_icmp6_nd_unref(link->icmp6_router_discovery);
hashmap_remove(link->manager->links, &link->ifindex);