From: tobhe Date: Wed, 3 Mar 2021 22:18:00 +0000 (+0000) Subject: Free sc_vroute on shutdown. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=47ed2a289c6912127e200f176d7e9e5067283b73;p=openbsd Free sc_vroute on shutdown. --- 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");