diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2008-03-19 10:26:00 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2008-03-19 10:26:00 +0000 |
commit | 25b5fdbccab1a05f8d772efb0e43a98ac6abea30 (patch) | |
tree | 5213abfed7655e57a677158b49fdbd8e20c3432a | |
parent | 72faaa58a85a0c8de724e8c22a4ec5b9f75e42e3 (diff) | |
download | libfuse-25b5fdbccab1a05f8d772efb0e43a98ac6abea30.tar.gz |
Fix missing pthread_mutex_destroy...
-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); |