summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-01-23 10:40:02 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-01-23 10:40:02 +0100
commit0078769f133c1bbb98cb7f071a0d7c4ff4a98aef (patch)
treef2d326c71ea279caacf1cbea3c617164398881df /src
parent86d9b4ed7153e91c9028af9a577c2d3a0dd32b52 (diff)
eina_tls: fix calls to TlsFree
Diffstat (limited to 'src')
-rw-r--r--src/lib/eina/eina_inline_lock_win32.x2
-rw-r--r--src/lib/eina/eina_inline_lock_wince.x2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eina/eina_inline_lock_win32.x b/src/lib/eina/eina_inline_lock_win32.x
index 3123ad6d9b..4ae63df6b6 100644
--- a/src/lib/eina/eina_inline_lock_win32.x
+++ b/src/lib/eina/eina_inline_lock_win32.x
@@ -492,7 +492,7 @@ eina_tls_cb_new(Eina_TLS *key, Eina_TLS_Delete_Cb delete_cb)
492 { 492 {
493 if (!_eina_thread_tls_cb_register(*key, delete_cb)) 493 if (!_eina_thread_tls_cb_register(*key, delete_cb))
494 { 494 {
495 TlsFree(key); 495 TlsFree(*key);
496 return EINA_FALSE; 496 return EINA_FALSE;
497 } 497 }
498 } 498 }
diff --git a/src/lib/eina/eina_inline_lock_wince.x b/src/lib/eina/eina_inline_lock_wince.x
index 3d96a84533..f98adf6bbe 100644
--- a/src/lib/eina/eina_inline_lock_wince.x
+++ b/src/lib/eina/eina_inline_lock_wince.x
@@ -163,7 +163,7 @@ eina_tls_cb_new(Eina_TLS *key, Eina_TLS_Delete_Cb delete_cb)
163 { 163 {
164 if (!_eina_thread_tls_cb_register(*key, delete_cb)) 164 if (!_eina_thread_tls_cb_register(*key, delete_cb))
165 { 165 {
166 TlsFree(key); 166 TlsFree(*key);
167 return EINA_FALSE; 167 return EINA_FALSE;
168 } 168 }
169 } 169 }