summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2017-02-16 09:13:53 +0100
committerDaiki Ueno <ueno@gnu.org>2017-02-16 09:22:51 +0100
commitee740e904030c3fb2640f524014474a510dda7eb (patch)
tree6e61ecad3709f8442a2b046c393dc08b063ef827 /common
parent4d228aa0129bcafb97d7196d8c18e379b492406d (diff)
library: Deinit p11_virtual_mutex
Follow-up fix for commit 4d228aa0, which forgot to clear p11_virtual_mutex on library finalization.
Diffstat (limited to 'common')
-rw-r--r--common/library.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/library.c b/common/library.c
index 39a9c46..effb3a6 100644
--- a/common/library.c
+++ b/common/library.c
@@ -144,6 +144,7 @@ p11_library_uninit (void)
p11_message_storage = dont_store_message;
pthread_key_delete (thread_local);
+ p11_mutex_uninit (&p11_virtual_mutex);
p11_mutex_uninit (&p11_library_mutex);
}