Commit 41a9fefc authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix vlc_threadvar_delete

parent ccedc495
...@@ -397,7 +397,7 @@ int vlc_threadvar_create( vlc_threadvar_t *p_tls, void (*destr) (void *) ) ...@@ -397,7 +397,7 @@ int vlc_threadvar_create( vlc_threadvar_t *p_tls, void (*destr) (void *) )
void vlc_threadvar_delete (vlc_threadvar_t *p_tls) void vlc_threadvar_delete (vlc_threadvar_t *p_tls)
{ {
#if defined( LIBVLC_USE_PTHREAD ) #if defined( LIBVLC_USE_PTHREAD )
pthread_key_delete (p_tls); pthread_key_delete (*p_tls);
#elif defined( UNDER_CE ) #elif defined( UNDER_CE )
#elif defined( WIN32 ) #elif defined( WIN32 )
TlsFree (*p_tls); TlsFree (*p_tls);
......
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