summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2004-02-23 15:32:55 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2004-02-23 15:32:55 +0000
commita28c3ad292f6f6cbe1c4ff05efb3d53eb45f17ff (patch)
treebf562686d5ae018c42fc426b0f875ef3a24cb2e9
parent4d78a306416c94fccd132fffd6a7e0df5099d3f2 (diff)
Notes
-rw-r--r--sys/netinet/tcp_subr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index afd25c9f1a168..e700bbb307c8e 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1653,6 +1653,8 @@ tcp_twclose(struct tcptw *tw, int reuse)
#endif
in_pcbdetach(inp);
tcpstat.tcps_closed++;
+ crfree(tw->tw_cred);
+ tw->tw_cred = NULL;
if (reuse)
return (tw);
uma_zfree(tcptw_zone, tw);