]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - net-tools/patches/net-tools-1.60-netstat-leak.patch
Move all packages to root.
[people/ms/ipfire-3.x.git] / net-tools / patches / net-tools-1.60-netstat-leak.patch
CommitLineData
236898d6
MT
1diff -up net-tools-1.60/netstat.c.netstat-leak net-tools-1.60/netstat.c
2--- net-tools-1.60/netstat.c.netstat-leak 2010-09-16 10:49:49.000000000 +0200
3+++ net-tools-1.60/netstat.c 2010-09-16 10:53:47.000000000 +0200
4@@ -558,6 +558,7 @@ static void tcp_node_hash_clear(void)
5 }
6
7 /* free the bucket itself */
8+ free(tcp_node_hash[i]->socket_pair);
9 free(tcp_node_hash[i]);
10 tcp_node_hash[i] = NULL;
11 }