diff --git a/libfuse-lite/mount.c b/libfuse-lite/mount.c index 739850ff..55bd7a38 100644 --- a/libfuse-lite/mount.c +++ b/libfuse-lite/mount.c @@ -283,6 +283,7 @@ void fuse_kern_unmount(const char *mountpoint, int fd) if (res == 1 && (pfd.revents & POLLERR)) return; } + close(fd); if (geteuid() == 0) { fuse_mnt_umount("fuse", mountpoint, 1);