diff options
author | Stef Walter <stefw@gnome.org> | 2013-03-03 10:00:23 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-03-03 10:07:14 +0100 |
commit | bee435e09111f43dcc406160e9c9bdd8645fc86c (patch) | |
tree | 8ca133400350ede433cb110fef632a7905bf4129 /common/library.c | |
parent | 61e0cb5dddb89ddab1d68791eb28d892c114622f (diff) | |
download | p11-kit-bee435e09111f43dcc406160e9c9bdd8645fc86c.tar.gz |
Fix syntax errors in OS_WIN32 ifdefs
Diffstat (limited to 'common/library.c')
-rw-r--r-- | common/library.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/library.c b/common/library.c index 0bc7e0c..64b8baf 100644 --- a/common/library.c +++ b/common/library.c @@ -234,7 +234,7 @@ p11_library_init (void) void p11_library_thread_cleanup (void) { - p11_local *local = data; + p11_local *local; if (thread_local != TLS_OUT_OF_INDEXES) { p11_debug ("thread stopped, freeing tls"); local = TlsGetValue (thread_local); @@ -253,10 +253,10 @@ p11_library_uninit (void) if (thread_local != TLS_OUT_OF_INDEXES) { data = TlsGetValue (thread_local); - free_tls_value (data); + free (data); TlsFree (thread_local); } - _p11_mutex_uninit (&p11_library_mutex); + p11_mutex_uninit (&p11_library_mutex); } #endif /* OS_WIN32 */ |