diff options
-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 1f9dc7a..2d54fd5 100644 --- a/common/library.c +++ b/common/library.c @@ -192,7 +192,7 @@ p11_library_uninit (void) if (thread_local != TLS_OUT_OF_INDEXES) { p11_message_storage = dont_store_message; data = TlsGetValue (thread_local); - free (data); + LocalFree (data); TlsFree (thread_local); } p11_mutex_uninit (&p11_library_mutex); |