aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/helper.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3b69c12..dfa3004 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-08 Miklos Szeredi <miklos@szeredi.hu>
+
+ * Remove unneeded close() from fuse_teardown(). Spotted by Csaba
+ Henk.
+
2005-11-07 Miklos Szeredi <miklos@szeredi.hu>
* Make the statfs change backwards compatible.
diff --git a/lib/helper.c b/lib/helper.c
index b078c25..ae43c87 100644
--- a/lib/helper.c
+++ b/lib/helper.c
@@ -377,7 +377,6 @@ void fuse_teardown(struct fuse *fuse, int fd, char *mountpoint)
fuse_instance = NULL;
fuse_destroy(fuse);
- close(fd);
fuse_unmount(mountpoint);
free(mountpoint);
}