summaryrefslogtreecommitdiff
path: root/sbin/isakmpd
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2002-11-08 10:16:31 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2002-11-08 10:16:31 +0000
commitd38d4dd8ca2b9c154b1ba64df3c93bb592b5042e (patch)
tree3e24f1a119594b5e55068f92722435f70df4861b /sbin/isakmpd
parent52fe6987a1274cfb18e83400a283fbdc3ad77795 (diff)
I missed a 'return' statement. Also spotted by Aref Taidi. Thanks.
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r--sbin/isakmpd/exchange.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/isakmpd/exchange.c b/sbin/isakmpd/exchange.c
index d2413af23ee..f95ce47b9cc 100644
--- a/sbin/isakmpd/exchange.c
+++ b/sbin/isakmpd/exchange.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exchange.c,v 1.71 2002/11/06 23:57:36 ho Exp $ */
+/* $OpenBSD: exchange.c,v 1.72 2002/11/08 10:16:30 ho Exp $ */
/* $EOM: exchange.c,v 1.143 2000/12/04 00:02:25 angelos Exp $ */
/*
@@ -866,6 +866,7 @@ exchange_establish_p1 (struct transport *t, u_int8_t type, u_int32_t doi,
{
log_print ("exchange_establish_p1: message_alloc () failed");
exchange_free (exchange);
+ return;
}
msg->exchange = exchange;