diff options
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_ipsp.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipsp.c b/sys/netinet/ip_ipsp.c index 7b92ade4942..0f3ce4af16d 100644 --- a/sys/netinet/ip_ipsp.c +++ b/sys/netinet/ip_ipsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.c,v 1.120 2001/05/30 10:56:46 angelos Exp $ */ +/* $OpenBSD: ip_ipsp.c,v 1.121 2001/05/30 11:15:37 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -819,6 +819,12 @@ tdb_delete(struct tdb *tdbp) tdbp->tdb_local_auth = NULL; } + if (tdbp->tdb_remote_auth) + { + ipsp_reffree(tdbp->tdb_remote_auth); + tdbp->tdb_remote_auth = NULL; + } + if (tdbp->tdb_srcid) { ipsp_reffree(tdbp->tdb_srcid); |