[vlc-devel] commit: Fix vlc_threadvar_delete ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu May 22 22:01:45 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Thu May 22 23:03:16 2008 +0300| [41a9fefc167a601fc892c7a90cb0fbf7f8f00d43]
Fix vlc_threadvar_delete
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=41a9fefc167a601fc892c7a90cb0fbf7f8f00d43
---
src/misc/threads.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/misc/threads.c b/src/misc/threads.c
index e8ae013..fc70d91 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -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)
{
#if defined( LIBVLC_USE_PTHREAD )
- pthread_key_delete (p_tls);
+ pthread_key_delete (*p_tls);
#elif defined( UNDER_CE )
#elif defined( WIN32 )
TlsFree (*p_tls);
More information about the vlc-devel
mailing list