From 062122185156891f3634e1fc6431d6af0b75783b Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Mon, 5 May 2014 16:14:38 +0000 Subject: 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(-) (limited to 'sbin') 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); } -- cgit v1.2.3