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:19:38 +0200 |
commit | cf91dc6975424e3ba3971e4496e91036e97419e5 (patch) | |
tree | 6c20609f490903a1c3306e11595ef73da4c10d94 | |
parent | f358242f0068b280c1478075617288095dd95adc (diff) |
Fix uninitialized p11_library_once
https://bugs.freedesktop.org/show_bug.cgi?id=57714
-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 * |