chiark / gitweb /
networkd: plug lldp leak
authorTom Gundersen <teg@jklm.no>
Wed, 21 Jan 2015 22:02:22 +0000 (23:02 +0100)
committerTom Gundersen <teg@jklm.no>
Wed, 21 Jan 2015 22:02:22 +0000 (23:02 +0100)
src/network/networkd-link.c

index bc363f9..310eb6c 100644 (file)
@@ -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);