summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2014-05-05 16:14:38 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2014-05-05 16:14:38 +0000
commit062122185156891f3634e1fc6431d6af0b75783b (patch)
tree81a8eab1b55e28cb999318add245a622cdd95cd0 /sbin
parent46a1313847807f2c813e6d1b6d83d0bbd8a550b0 (diff)
the caller of ikev2_msg_retransmit_response already frees the sa; ok mikeb
Diffstat (limited to 'sbin')
-rw-r--r--sbin/iked/ikev2_msg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/iked/ikev2_msg.c b/sbin/iked/ikev2_msg.c
index 0cb36891d4b..29f609dcc17 100644
--- a/sbin/iked/ikev2_msg.c
+++ b/sbin/iked/ikev2_msg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ikev2_msg.c,v 1.32 2014/04/29 11:51:13 markus Exp $ */
+/* $OpenBSD: ikev2_msg.c,v 1.33 2014/05/05 16:14:37 markus Exp $ */
/*
* Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org>
@@ -946,7 +946,6 @@ ikev2_msg_retransmit_response(struct iked *env, struct iked_sa *sa,
ibuf_size(msg->msg_data), 0, (struct sockaddr *)&msg->msg_peer,
msg->msg_peerlen)) == -1) {
log_warn("%s: sendto", __func__);
- sa_free(env, sa);
return (-1);
}