diff options
author | manphiz@gmail.com <manphiz@gmail.com> | 2013-04-24 01:01:00 +0000 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-05-28 11:25:50 +0200 |
commit | f48e1a2a496604a835d0f9230113218951a1ced2 (patch) | |
tree | dd80b7653337ecb2bf8a0a69918b96dd06b43e92 /common | |
parent | 6132376b31f6d8c27fa63b219e7330f4489de6cc (diff) |
Fix uninitialized p11_library_once
https://bugs.freedesktop.org/show_bug.cgi?id=57714
Diffstat (limited to 'common')
-rw-r--r-- | common/library.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/library.c b/common/library.c index 2d54fd5..b7d6923 100644 --- a/common/library.c +++ b/common/library.c @@ -60,7 +60,7 @@ static p11_local * _p11_library_get_thread_local (void); p11_mutex_t p11_library_mutex; #ifdef OS_UNIX -pthread_once_t p11_library_once; +pthread_once_t p11_library_once = PTHREAD_ONCE_INIT; #endif static char * |