summaryrefslogtreecommitdiff
path: root/sys/netipsec/ipsec_input.c
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-05-26 19:11:24 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-05-26 19:11:24 +0000
commitd02c951f8ec631d059ec7a8addb8a104cd160280 (patch)
tree95a3b1baea805cde74e09666d77a5b9f11d95aff /sys/netipsec/ipsec_input.c
parentd8866befb86698415f5ef82446c22f6da5fb2bd9 (diff)
parentb5617df55b52e1be5b9f07bf00ac345f304c2497 (diff)
Notes
Diffstat (limited to 'sys/netipsec/ipsec_input.c')
-rw-r--r--sys/netipsec/ipsec_input.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netipsec/ipsec_input.c b/sys/netipsec/ipsec_input.c
index c4acafecc243..e253cc0a31d2 100644
--- a/sys/netipsec/ipsec_input.c
+++ b/sys/netipsec/ipsec_input.c
@@ -223,8 +223,6 @@ ipsec_common_input(struct mbuf *m, int skip, int protoff, int af, int sproto)
* everything else.
*/
error = (*sav->tdb_xform->xf_input)(m, sav, skip, protoff);
- if (error != 0)
- key_freesav(&sav);
return (error);
}