fuse_lib_opendir(): fix missing pthread_mutex_destroy() in error path

master
szaka 2008-03-23 14:02:04 +00:00
parent 72c32e0c30
commit ca890bec0a
1 changed files with 1 additions and 0 deletions

View File

@ -1813,6 +1813,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);