]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - pkgs/net-tools/patches/net-tools-1.60-netstat-leak.patch
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / pkgs / net-tools / patches / net-tools-1.60-netstat-leak.patch
1 diff -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 }