From: caro Date: Mon, 31 Oct 2011 23:45:07 +0000 (+0000) Subject: Eina: init TLS key... X-Git-Tag: submit/2.0alpha-wayland/20121127.222009~474 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=282de310b032c8bfb66a0ac0a33814880f2b7d8f;p=profile%2Fivi%2Feina.git Eina: init TLS key... git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@64589 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/include/eina_inline_lock_win32.x b/src/include/eina_inline_lock_win32.x index 805524e..344d35a 100644 --- a/src/include/eina_inline_lock_win32.x +++ b/src/include/eina_inline_lock_win32.x @@ -438,7 +438,7 @@ eina_rwlock_release(Eina_RWLock *mutex) static inline Eina_Bool eina_tls_new(Eina_TLS *key) { - if (TlsAlloc() == TLS_OUT_OF_INDEXES) + if ((*key = TlsAlloc()) == TLS_OUT_OF_INDEXES) return EINA_FALSE; return EINA_TRUE; }