From 2c2427b7e22a3174621679516c5dfc63ca795d8b Mon Sep 17 00:00:00 2001 From: helg Date: Mon, 18 Dec 2017 14:20:24 +0000 Subject: Add call to fuse_remove_signal_handlers(3) in fuse_teardown(3) to do the opposite of fuse_setup(3). ok mpi@ --- lib/libfuse/fuse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libfuse') diff --git a/lib/libfuse/fuse.c b/lib/libfuse/fuse.c index cd7773b4c42..73426e54351 100644 --- a/lib/libfuse/fuse.c +++ b/lib/libfuse/fuse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fuse.c,v 1.42 2017/12/18 11:41:41 helg Exp $ */ +/* $OpenBSD: fuse.c,v 1.43 2017/12/18 14:20:23 helg Exp $ */ /* * Copyright (c) 2013 Sylvestre Gallon * @@ -611,6 +611,7 @@ fuse_teardown(struct fuse *fuse, char *mp) if (fuse == NULL || mp == NULL) return; + fuse_remove_signal_handlers(fuse_get_session(fuse)); fuse_unmount(mp, fuse->fc); fuse_destroy(fuse); } -- cgit v1.2.3