aboutsummaryrefslogtreecommitdiffstats
path: root/lib/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/helper.c')
-rw-r--r--lib/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helper.c b/lib/helper.c
index d8a522f..79616dc 100644
--- a/lib/helper.c
+++ b/lib/helper.c
@@ -381,8 +381,8 @@ void fuse_teardown(struct fuse *fuse, int fd, char *mountpoint)
else
fuse_instance = NULL;
- fuse_destroy(fuse);
fuse_unmount(mountpoint);
+ fuse_destroy(fuse);
free(mountpoint);
}