diff options
author | Tobias Jungel <tobias.jungel@bisdn.de> | 2018-04-17 11:49:23 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-06-25 11:57:34 (GMT) |
commit | 250a7c9ae91a726dfe33174f5281505add5cdbaa (patch) | |
tree | f259fc4b7a9e6c5cccac49f99f685444c049e217 | |
parent | 857961ac0261852129c511a8e846d28df7b832d7 (diff) | |
download | libnl-250a7c9ae91a726dfe33174f5281505add5cdbaa.zip libnl-250a7c9ae91a726dfe33174f5281505add5cdbaa.tar.gz libnl-250a7c9ae91a726dfe33174f5281505add5cdbaa.tar.bz2 |
nl-neigh-list: free allocated items
-rw-r--r-- | src/nl-neigh-list.c | 5 |
1 files changed, 5 insertions, 0 deletions
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, ¶ms, OBJ_CAST(neigh)); + rtnl_neigh_put(neigh); + nl_cache_put(neigh_cache); + nl_cache_put(link_cache); + nl_socket_free(sock); + return 0; } |