Commit 016215bd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Add a FIXME

parent b8c3d0e5
...@@ -417,6 +417,7 @@ int vlc_threadvar_create( vlc_threadvar_t *p_tls, void (*destr) (void *) ) ...@@ -417,6 +417,7 @@ int vlc_threadvar_create( vlc_threadvar_t *p_tls, void (*destr) (void *) )
#elif defined( UNDER_CE ) #elif defined( UNDER_CE )
i_ret = ENOSYS; i_ret = ENOSYS;
#elif defined( WIN32 ) #elif defined( WIN32 )
/* FIXME: remember/use the destr() callback and stop leaking whatever */
*p_tls = TlsAlloc(); *p_tls = TlsAlloc();
i_ret = (*p_tls == TLS_OUT_OF_INDEXES) ? EAGAIN : 0; i_ret = (*p_tls == TLS_OUT_OF_INDEXES) ? EAGAIN : 0;
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment