summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-01-21 23:02:22 +0100
committerTom Gundersen <teg@jklm.no>2015-01-21 23:02:22 +0100
commit07e10d1a7c7535bd3938b09a11bf29b94a9dae77 (patch)
treed186f5f80a15ec6160932b0323a2c16342486817 /src
parentcfb5b3805759e63dc5e0cae6e92e1df885b5c5b6 (diff)
networkd: plug lldp leak
Diffstat (limited to 'src')
-rw-r--r--src/network/networkd-link.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index bc363f95b0..310eb6c734 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -286,6 +286,8 @@ static void link_free(Link *link) {
unlink(link->lease_file);
free(link->lease_file);
+ sd_lldp_free(link->lldp);
+
unlink(link->lldp_file);
free(link->lldp_file);