diff options
author | Tom Gundersen <teg@jklm.no> | 2014-06-20 13:04:02 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-06-20 13:04:02 +0200 |
commit | 6b66097b9534da434cdb56d22c49452cfc0dcaf1 (patch) | |
tree | 3e8e13b0fee7ebd09ded37accb0980f99c5db24d /src/network/networkd-link.c | |
parent | 6278a2019055ba63bfa80c2b107e16616ca648b1 (diff) |
networkd: link - fix memleak of icmp6 struct
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r-- | src/network/networkd-link.c | 2 |
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); |