diff options
author | tobhe <tobhe@cvs.openbsd.org> | 2020-04-08 20:04:20 +0000 |
---|---|---|
committer | tobhe <tobhe@cvs.openbsd.org> | 2020-04-08 20:04:20 +0000 |
commit | fd5d15cab6d9936926337ebb76ea3ce2598790ce (patch) | |
tree | 6a09d23c364a6051c2cf1529bd279b382f68b6a8 /sbin/iked/iked.h | |
parent | 201287c99756a195213b7a8f685b7e6b08c7ba8b (diff) |
Prevent multiple ibuf leaks. Clean up on proccess shutdown.
ok markus@
Diffstat (limited to 'sbin/iked/iked.h')
-rw-r--r-- | sbin/iked/iked.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <tobias.heider@stusta.de> @@ -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; }; |