diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse_mt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fuse_mt.c b/lib/fuse_mt.c index 1136ee9..f56fe62 100644 --- a/lib/fuse_mt.c +++ b/lib/fuse_mt.c @@ -64,6 +64,7 @@ static void mt_delete_context_key(void) context_ref--; if (!context_ref) { fuse_set_getcontext_func(NULL); + free(pthread_getspecific(context_key)); pthread_key_delete(context_key); } pthread_mutex_unlock(&context_lock); |