diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-05-27 03:54:13 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-05-27 03:54:13 +0000 |
commit | 90471aa69484dabe67f36001572fdc7f11b11695 (patch) | |
tree | 742c8592395061fabf5b55285bc5aaec579bf119 | |
parent | b9359c3f1fd3229e4be901dd1350daabb2f1025d (diff) |
Free IPsec authentication material on PCB tear down.
-rw-r--r-- | sys/netinet/in_pcb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 88b6d935cb5..d90485ec3c8 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in_pcb.c,v 1.51 2001/05/21 03:02:18 angelos Exp $ */ +/* $OpenBSD: in_pcb.c,v 1.52 2001/05/27 03:54:12 angelos Exp $ */ /* $NetBSD: in_pcb.c,v 1.25 1996/02/13 23:41:53 christos Exp $ */ /* @@ -568,6 +568,8 @@ in_pcbdetach(v) ipsp_reffree(inp->inp_ipsec_localcred); if (inp->inp_ipsec_remotecred) ipsp_reffree(inp->inp_ipsec_remotecred); + if (inp->inp_ipsec_auth) + ipsp_reffree(inp->inp_ipsec_auth); splx(s); #endif s = splnet(); |