From fd5d15cab6d9936926337ebb76ea3ce2598790ce Mon Sep 17 00:00:00 2001 From: tobhe Date: Wed, 8 Apr 2020 20:04:20 +0000 Subject: Prevent multiple ibuf leaks. Clean up on proccess shutdown. ok markus@ --- sbin/iked/iked.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/iked/iked.h') diff --git a/sbin/iked/iked.h b/sbin/iked/iked.h index 1d19305fa78..598e82d0157 100644 --- a/sbin/iked/iked.h +++ b/sbin/iked/iked.h @@ -1,4 +1,4 @@ -/* $OpenBSD: iked.h,v 1.140 2020/04/02 19:44:41 tobhe Exp $ */ +/* $OpenBSD: iked.h,v 1.141 2020/04/08 20:04:19 tobhe Exp $ */ /* * Copyright (c) 2019 Tobias Heider @@ -647,7 +647,7 @@ struct privsep_proc { const char *p_chroot; struct privsep *p_ps; struct iked *p_env; - void (*p_shutdown)(void); + void (*p_shutdown)(struct privsep_proc *); unsigned int p_instance; }; -- cgit v1.2.3