chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6278a20
)
networkd: link - fix memleak of icmp6 struct
author
Tom Gundersen
<teg@jklm.no>
Fri, 20 Jun 2014 11:04:02 +0000
(13:04 +0200)
committer
Tom Gundersen
<teg@jklm.no>
Fri, 20 Jun 2014 11:04:02 +0000
(13:04 +0200)
src/network/networkd-link.c
patch
|
blob
|
history
diff --git
a/src/network/networkd-link.c
b/src/network/networkd-link.c
index 664cc07c724ceb39d6bf63a568d30e5273353504..44147b2c0d95037b46113f9addbf7a0c9c1b477b 100644
(file)
--- 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);