diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/fuse.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2008-03-19 Miklos Szeredi <miklos@szeredi.hu> + + * Fix missing pthread_mutex_destroy in error path of + fuse_lib_opendir(). Patch by Szabolcs Szakacsits + 2008-03-07 Miklos Szeredi <miklos@szeredi.hu> * Add queuing on contention to per-node lock algorithm, to avoid @@ -2327,6 +2327,7 @@ static void fuse_lib_opendir(fuse_req_t req, fuse_ino_t ino, } } else { reply_err(req, err); + pthread_mutex_destroy(&dh->lock); free(dh); } free_path(f, ino, path); |