From 250a7c9ae91a726dfe33174f5281505add5cdbaa Mon Sep 17 00:00:00 2001
From: Tobias Jungel <tobias.jungel@bisdn.de>
Date: Tue, 17 Apr 2018 13:49:23 +0200
Subject: [PATCH 49/76] nl-neigh-list: free allocated items

---
 src/nl-neigh-list.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/nl-neigh-list.c b/src/nl-neigh-list.c
index ba4ade8..1581e17 100644
--- a/src/nl-neigh-list.c
+++ b/src/nl-neigh-list.c
@@ -87,5 +87,10 @@ int main(int argc, char *argv[])
 
 	nl_cache_dump_filter(neigh_cache, &params, OBJ_CAST(neigh));
 
+	rtnl_neigh_put(neigh);
+	nl_cache_put(neigh_cache);
+	nl_cache_put(link_cache);
+	nl_socket_free(sock);
+
 	return 0;
 }
-- 
1.8.3.1

