summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-04-03 10:43:03 +0200
committerStef Walter <stefw@gnome.org>2013-04-03 10:43:03 +0200
commitc3f1b0a45eb1c28b6f025f8ae56c3b020801b6aa (patch)
tree20a4bbd4f1b2fbae2b86e2fd2cb06fdef9fadce0
parentfcc3a83cc4d540bc2c4096524b5e8003046ba561 (diff)
Don't use free() on memory allocated by LocalFree()
ihttps://bugs.freedesktop.org/show_bug.cgi?id=63046
-rw-r--r--common/library.c2
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);