summaryrefslogtreecommitdiff
path: root/sbin/iked/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/iked/config.c')
-rw-r--r--sbin/iked/config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/iked/config.c b/sbin/iked/config.c
index 60f6443d3e2..029ee2b5813 100644
--- a/sbin/iked/config.c
+++ b/sbin/iked/config.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.c,v 1.79 2021/05/13 15:20:48 tobhe Exp $ */
+/* $OpenBSD: config.c,v 1.80 2021/09/01 15:30:06 tobhe Exp $ */
/*
* Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de>
@@ -174,6 +174,7 @@ config_free_sa(struct iked *env, struct iked_sa *sa)
free(sa->sa_cp_addr);
free(sa->sa_cp_addr6);
+ free(sa->sa_cp_dns);
free(sa->sa_tag);
free(sa);