From 1e1bcb0ef9e1b19dd76172803e20bb25509582e8 Mon Sep 17 00:00:00 2001 From: markus Date: Mon, 5 May 2014 16:14:37 +0000 Subject: [PATCH] the caller of ikev2_msg_retransmit_response already frees the sa; ok mikeb --- sbin/iked/ikev2_msg.c | 3 +-- 1 file changed, 1 insertion(+), 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 @@ -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); } -- 2.20.1