summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/udp.c
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-06-01 23:03:57 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-06-01 23:03:57 +0000
commit4c5d054584d613b6ffb682993f21f613ee01388b (patch)
treea6e93323039a0bd0be9b6147992684313939b3ba /sbin/isakmpd/udp.c
parent74be8fbe16247c7731ba80cfb1ad86179b355483 (diff)
Fix memory leaks. OK hshoexer
Diffstat (limited to 'sbin/isakmpd/udp.c')
-rw-r--r--sbin/isakmpd/udp.c3
1 files changed, 2 insertions, 1 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;
}