From c3f1b0a45eb1c28b6f025f8ae56c3b020801b6aa Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 3 Apr 2013 10:43:03 +0200 Subject: Don't use free() on memory allocated by LocalFree() ihttps://bugs.freedesktop.org/show_bug.cgi?id=63046 --- common/library.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.1