diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2012-03-24 00:40:26 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2012-03-24 00:40:26 +0000 |
commit | 897ad8fd7ac1a7c853106af4a28e256371b513cb (patch) | |
tree | 473558f4afb6df5b15634bc37b75f47f7bd23a14 /sbin/iked/ikev2_pld.c | |
parent | 3a829b1c12609aae928c035b8f17ae238f6e809b (diff) |
fix some leaks
ok mikeb@
Diffstat (limited to 'sbin/iked/ikev2_pld.c')
-rw-r--r-- | sbin/iked/ikev2_pld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/iked/ikev2_pld.c b/sbin/iked/ikev2_pld.c index 98ca90b9d07..3aa09338304 100644 --- a/sbin/iked/ikev2_pld.c +++ b/sbin/iked/ikev2_pld.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ikev2_pld.c,v 1.21 2011/01/26 16:59:24 mikeb Exp $ */ +/* $OpenBSD: ikev2_pld.c,v 1.22 2012/03/24 00:40:25 jsg Exp $ */ /* $vantronix: ikev2.c,v 1.101 2010/06/03 07:57:33 reyk Exp $ */ /* @@ -860,7 +860,7 @@ ikev2_pld_delete(struct iked *env, struct ikev2_payload *pld, /* Parsed outgoing message? */ if (!ikev2_msg_frompeer(msg)) - return (0); + goto done; if (ikev2_msg_frompeer(msg) && (sa->sa_stateflags & IKED_REQ_DELETE)) { /* Finish rekeying */ |