diff options
author | tobhe <tobhe@cvs.openbsd.org> | 2020-09-30 16:52:09 +0000 |
---|---|---|
committer | tobhe <tobhe@cvs.openbsd.org> | 2020-09-30 16:52:09 +0000 |
commit | 0688765cd4da75cefa93c2f9781fd37deadcd416 (patch) | |
tree | 29ef71636c1d39e7db4f2482ac1ec2e8acf092ae /sbin/iked | |
parent | 5f18940d9b8fd25023d01187dfd466808c98f163 (diff) |
Don't leak sa->sa_peerauth.id_buf.
ok patrick@
Diffstat (limited to 'sbin/iked')
-rw-r--r-- | sbin/iked/config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/iked/config.c b/sbin/iked/config.c index 967d90d3eae..bf114d6ed20 100644 --- a/sbin/iked/config.c +++ b/sbin/iked/config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: config.c,v 1.67 2020/09/25 10:38:05 tobhe Exp $ */ +/* $OpenBSD: config.c,v 1.68 2020/09/30 16:52:08 tobhe Exp $ */ /* * Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de> @@ -169,6 +169,7 @@ config_free_sa(struct iked *env, struct iked_sa *sa) ibuf_release(sa->sa_icert.id_buf); ibuf_release(sa->sa_rcert.id_buf); ibuf_release(sa->sa_localauth.id_buf); + ibuf_release(sa->sa_peerauth.id_buf); ibuf_release(sa->sa_eap.id_buf); free(sa->sa_eapid); |