diff options
-rw-r--r-- | sbin/isakmpd/udp.c | 3 | ||||
-rw-r--r-- | sbin/isakmpd/udp_encap.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sbin/isakmpd/udp.c b/sbin/isakmpd/udp.c index 8f144df105a..8598be9d614 100644 --- a/sbin/isakmpd/udp.c +++ b/sbin/isakmpd/udp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udp.c,v 1.88 2005/04/08 23:15:26 hshoexer Exp $ */ +/* $OpenBSD: udp.c,v 1.89 2005/06/01 23:03:56 cloder Exp $ */ /* $EOM: udp.c,v 1.57 2001/01/26 10:09:57 niklas Exp $ */ /* @@ -193,6 +193,7 @@ err: /* Already closed. */ t->s = -1; udp_remove(&t->transport); + free(t); } return 0; } diff --git a/sbin/isakmpd/udp_encap.c b/sbin/isakmpd/udp_encap.c index 9836eceb727..c0b7c211082 100644 --- a/sbin/isakmpd/udp_encap.c +++ b/sbin/isakmpd/udp_encap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udp_encap.c,v 1.15 2005/04/08 23:15:26 hshoexer Exp $ */ +/* $OpenBSD: udp_encap.c,v 1.16 2005/06/01 23:03:56 cloder Exp $ */ /* * Copyright (c) 1998, 1999, 2001 Niklas Hallqvist. All rights reserved. @@ -197,6 +197,7 @@ err: /* Already closed. */ t->s = -1; udp_remove(&t->transport); + free(t); } return 0; } |