From 47ed2a289c6912127e200f176d7e9e5067283b73 Mon Sep 17 00:00:00 2001 From: tobhe Date: Wed, 3 Mar 2021 22:18:00 +0000 Subject: [PATCH] Free sc_vroute on shutdown. --- sbin/iked/iked.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sbin/iked/iked.c b/sbin/iked/iked.c index 963f74cdfd0..a023a304245 100644 --- a/sbin/iked/iked.c +++ b/sbin/iked/iked.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iked.c,v 1.55 2021/02/22 21:58:12 tobhe Exp $ */ +/* $OpenBSD: iked.c,v 1.56 2021/03/03 22:18:00 tobhe Exp $ */ /* * Copyright (c) 2019 Tobias Heider @@ -479,6 +479,7 @@ parent_shutdown(struct iked *env) { proc_kill(&env->sc_ps); + free(env->sc_vroute); free(env); log_warnx("parent terminating"); -- 2.20.1